/usr/lib/python2.3/tabnanny.py *
This commit is contained in:
@@ -78,5 +78,4 @@ class ArchiveFileTestCase(unittest.TestCase):
|
||||
testfile = targetDir + "/sandbox/borek.cs"
|
||||
assert pathexists(testfile)
|
||||
|
||||
|
||||
suite = unittest.makeSuite(ArchiveFileTestCase)
|
||||
|
||||
@@ -8,7 +8,6 @@ class ContextTestCase(unittest.TestCase):
|
||||
self.ctx = context.Context("samples/popt/popt.pspec")
|
||||
|
||||
def testConstness(self):
|
||||
|
||||
# test if we can get a const attribute?
|
||||
try:
|
||||
test = self.ctx.const.archives_dir_suffix
|
||||
@@ -38,7 +37,4 @@ class ContextTestCase(unittest.TestCase):
|
||||
# we achived our goal with this error. infact, this is a
|
||||
# ConstError but we can't catch it directly here
|
||||
pass
|
||||
|
||||
|
||||
|
||||
suite = unittest.makeSuite(ContextTestCase)
|
||||
|
||||
@@ -9,7 +9,6 @@ from pisi import context
|
||||
class FetcherTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.ctx = context.Context("samples/popt/popt.pspec")
|
||||
|
||||
self.fetch = fetcher.Fetcher(self.ctx)
|
||||
|
||||
def testFetch(self):
|
||||
@@ -19,5 +18,4 @@ class FetcherTestCase(unittest.TestCase):
|
||||
self.assertEqual(util.sha1_file(destpath),
|
||||
self.ctx.spec.source.archiveSHA1)
|
||||
|
||||
|
||||
suite = unittest.makeSuite(FetcherTestCase)
|
||||
|
||||
@@ -36,7 +36,6 @@ if __name__ == "__main__":
|
||||
module = __import__(test + 'tests')
|
||||
print "\nRunning tests in '%s'...\n" % (test)
|
||||
runTestSuite(module.suite)
|
||||
|
||||
else: # run all tests
|
||||
print "\nRunning all tests in order...\n"
|
||||
run_all()
|
||||
|
||||
@@ -27,5 +27,4 @@ class SpecReadTestCase(unittest.TestCase):
|
||||
def testLenPackages(self):
|
||||
self.assertEqual(len(self.spec.packages), 1)
|
||||
|
||||
|
||||
suite = unittest.makeSuite(SpecReadTestCase)
|
||||
|
||||
Reference in New Issue
Block a user