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)