From 3b155e595fed78f8eac22de78106cd3dcad9793c Mon Sep 17 00:00:00 2001 From: Michael Vogt Date: Mon, 12 Jul 2010 14:42:39 +0200 Subject: tests/test_debfile.py: move test_debs into tests/data --- tests/test_debfile.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_debfile.py') diff --git a/tests/test_debfile.py b/tests/test_debfile.py index 6af0cf1c..c71c34a3 100644 --- a/tests/test_debfile.py +++ b/tests/test_debfile.py @@ -46,14 +46,14 @@ class TestDebfilee(unittest.TestCase): def setUp(self): apt_pkg.config.set("APT::Architecture","i386") apt_pkg.config.set("Dir::State::status", - "./test_debs/var/lib/dpkg/status") + "./data/test_debs/var/lib/dpkg/status") self.cache = apt.Cache() def testDebFile(self): deb = apt.debfile.DebPackage(cache=self.cache) for (filename, expected_res) in self.TEST_DEBS: logging.debug("testing %s, expecting %s" % (filename, expected_res)) - deb.open(os.path.join("test_debs", filename)) + deb.open(os.path.join("data", "test_debs", filename)) res = deb.check() self.assertEqual(res, expected_res, "Unexpected result for package '%s' (got %s wanted %s)" % ( -- cgit v1.2.3