unittest leri de samples/popt'a bakacak şekilde düzelttik...
This commit is contained in:
@@ -13,7 +13,7 @@ class ArchiveFileTestCase(unittest.TestCase):
|
||||
# pass
|
||||
|
||||
def testUnpackTar(self):
|
||||
ctx = context.Context("../popt/popt.pspec")
|
||||
ctx = context.Context("samples/popt/popt.pspec")
|
||||
|
||||
targetDir = ctx.build_work_dir()
|
||||
achv = archive.Archive(ctx)
|
||||
|
||||
@@ -5,7 +5,7 @@ from pisi import context
|
||||
|
||||
class ContextTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.ctx = context.Context("../popt/popt.pspec")
|
||||
self.ctx = context.Context("samples/popt/popt.pspec")
|
||||
|
||||
def testConstness(self):
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@ from pisi import context
|
||||
|
||||
class FetcherTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.ctx = context.Context("../popt/popt.pspec")
|
||||
self.ctx = context.Context("samples/popt/popt.pspec")
|
||||
|
||||
self.fetch = fetcher.Fetcher(self.ctx)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ from pisi import specfile
|
||||
class SpecReadTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.spec = specfile.SpecFile()
|
||||
self.spec.read("../popt/popt.pspec")
|
||||
self.spec.read("samples/popt/popt.pspec")
|
||||
|
||||
def testSourceName(self):
|
||||
self.assertEqual(self.spec.source.name,
|
||||
|
||||
Reference in New Issue
Block a user