summaryrefslogtreecommitdiff
path: root/tests/test_debfile.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2010-07-12 14:42:39 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2010-07-12 14:42:39 +0200
commit3b155e595fed78f8eac22de78106cd3dcad9793c (patch)
treef044f93e371fa825faeaf4767eb66d27511fcec1 /tests/test_debfile.py
parent3abffab185943a8c3b07e896ba721ebd663fb322 (diff)
downloadpython-apt-3b155e595fed78f8eac22de78106cd3dcad9793c.tar.gz
tests/test_debfile.py: move test_debs into tests/data
Diffstat (limited to 'tests/test_debfile.py')
-rw-r--r--tests/test_debfile.py4
1 files changed, 2 insertions, 2 deletions
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)" % (