From 3eefda27182c7e7f6eb675357f4e70ade27fcb4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eray=20=C3=96zkural?= Date: Tue, 20 Dec 2005 17:05:07 +0000 Subject: [PATCH] * update unit tests --- tests/configfiletests.py | 4 ++-- tests/filestests.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/configfiletests.py b/tests/configfiletests.py index 70722aa3..5a136693 100644 --- a/tests/configfiletests.py +++ b/tests/configfiletests.py @@ -47,8 +47,8 @@ class ConfigFileTestCase(unittest.TestCase): cf = self.cf #build - self.assert_(cf.build.CFLAGS) - self.assert_(cf.build.CXXFLAGS) + self.assert_(cf.build.cflags) + self.assert_(cf.build.cxxflags) #general self.assert_(cf.general.destinationdirectory) diff --git a/tests/filestests.py b/tests/filestests.py index 0779883b..c1fd196b 100644 --- a/tests/filestests.py +++ b/tests/filestests.py @@ -25,7 +25,7 @@ class FilesTestCase(testcase.TestCase): testcase.TestCase.setUp(self, database=False) def testFileInfo(self): - f1 = files.File(path = '/usr/bin/zibidi') - f2 = files.File(path = '/usr/bin/kopus', type='exec', size=13, hash="abugubu") + f1 = files.FileInfo(path = '/usr/bin/zibidi') + f2 = files.FileInfo(path = '/usr/bin/kopus', type='exec', size=13, hash="abugubu") suite = unittest.makeSuite(FilesTestCase)