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