diff --git a/src/unittests/archivetests.py b/src/unittests/archivetests.py index f9641e2a..dd91c8d0 100644 --- a/src/unittests/archivetests.py +++ b/src/unittests/archivetests.py @@ -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) diff --git a/src/unittests/contexttests.py b/src/unittests/contexttests.py index c2bceae7..e1bb6758 100644 --- a/src/unittests/contexttests.py +++ b/src/unittests/contexttests.py @@ -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): diff --git a/src/unittests/fetchertests.py b/src/unittests/fetchertests.py index 4fcb4b41..03ae0ad0 100644 --- a/src/unittests/fetchertests.py +++ b/src/unittests/fetchertests.py @@ -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) diff --git a/src/unittests/specfiletests.py b/src/unittests/specfiletests.py index 42bc9943..f5a4d060 100644 --- a/src/unittests/specfiletests.py +++ b/src/unittests/specfiletests.py @@ -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,