From db9b3ae13ce73a51c924f5ba29c26fa6289e804d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Metin?= Date: Tue, 5 Jul 2005 06:32:45 +0000 Subject: [PATCH] =?UTF-8?q?testler=20kendi=20dizinlerindeki=20popt'u=20kul?= =?UTF-8?q?lans=C4=B1nlar?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/archivetests.py | 2 +- tests/fetchertests.py | 2 +- tests/packagedbtests.py | 2 +- tests/sourcedbtests.py | 2 +- tests/specfiletests.py | 4 ++-- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/archivetests.py b/tests/archivetests.py index a90cd8a9..da2b0146 100644 --- a/tests/archivetests.py +++ b/tests/archivetests.py @@ -16,7 +16,7 @@ class ArchiveFileTestCase(unittest.TestCase): # pass def testUnpackTar(self): - ctx = context.BuildContext("samples/popt/pspec.xml") + ctx = context.BuildContext("tests/popt/pspec.xml") achv = sourcearchive.SourceArchive(ctx) diff --git a/tests/fetchertests.py b/tests/fetchertests.py index 1a797b6b..11fe55f6 100644 --- a/tests/fetchertests.py +++ b/tests/fetchertests.py @@ -10,7 +10,7 @@ from pisi import purl class FetcherTestCase(unittest.TestCase): def setUp(self): - self.ctx = context.BuildContext("samples/popt/pspec.xml") + self.ctx = context.BuildContext("tests/popt/pspec.xml") self.url = purl.PUrl(self.ctx.spec.source.archiveUri) self.destpath = config.config.archives_dir() self.fetch = fetcher.Fetcher(self.url, self.destpath) diff --git a/tests/packagedbtests.py b/tests/packagedbtests.py index 7d4cbebc..2ce75e11 100644 --- a/tests/packagedbtests.py +++ b/tests/packagedbtests.py @@ -9,7 +9,7 @@ from pisi import context class PackageDBTestCase(unittest.TestCase): def setUp(self): - self.ctx = context.BuildContext('samples/popt/pspec.xml') + self.ctx = context.BuildContext('tests/popt/pspec.xml') def testAdd(self): packagedb.add_package(self.ctx.spec.packages[0]) diff --git a/tests/sourcedbtests.py b/tests/sourcedbtests.py index f35321aa..64746df1 100644 --- a/tests/sourcedbtests.py +++ b/tests/sourcedbtests.py @@ -9,7 +9,7 @@ from pisi import context class SourceDBTestCase(unittest.TestCase): def setUp(self): - self.ctx = context.BuildContext("samples/popt/pspec.xml") + self.ctx = context.BuildContext("tests/popt/pspec.xml") def testAdd(self): sourcedb.add_source(self.ctx.spec.source) diff --git a/tests/specfiletests.py b/tests/specfiletests.py index 93e8460f..e70202f8 100644 --- a/tests/specfiletests.py +++ b/tests/specfiletests.py @@ -9,7 +9,7 @@ import pisi.util as util class SpecFileTestCase(unittest.TestCase): def setUp(self): self.spec = specfile.SpecFile() - self.spec.read("samples/popt/pspec.xml") + self.spec.read("tests/popt/pspec.xml") def testReadSpec(self): self.assertEqual(self.spec.source.name, "popt") @@ -64,7 +64,7 @@ class SpecFileTestCase(unittest.TestCase): def testCopy(self): util.check_dir(config.tmp_dir()) - self.spec.read("samples/popt/pspec.xml") + self.spec.read("tests/popt/pspec.xml") self.spec.write(os.path.join(config.tmp_dir(), 'popt-copy.pspec.xml')) suite = unittest.makeSuite(SpecFileTestCase)