* update unit tests

This commit is contained in:
Eray Özkural
2005-12-20 17:05:07 +00:00
parent 1c5e870281
commit 3eefda2718
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -47,8 +47,8 @@ class ConfigFileTestCase(unittest.TestCase):
cf = self.cf cf = self.cf
#build #build
self.assert_(cf.build.CFLAGS) self.assert_(cf.build.cflags)
self.assert_(cf.build.CXXFLAGS) self.assert_(cf.build.cxxflags)
#general #general
self.assert_(cf.general.destinationdirectory) self.assert_(cf.general.destinationdirectory)
+2 -2
View File
@@ -25,7 +25,7 @@ class FilesTestCase(testcase.TestCase):
testcase.TestCase.setUp(self, database=False) testcase.TestCase.setUp(self, database=False)
def testFileInfo(self): def testFileInfo(self):
f1 = files.File(path = '/usr/bin/zibidi') f1 = files.FileInfo(path = '/usr/bin/zibidi')
f2 = files.File(path = '/usr/bin/kopus', type='exec', size=13, hash="abugubu") f2 = files.FileInfo(path = '/usr/bin/kopus', type='exec', size=13, hash="abugubu")
suite = unittest.makeSuite(FilesTestCase) suite = unittest.makeSuite(FilesTestCase)