summaryrefslogtreecommitdiff
path: root/tests/test_debfile.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-04-04 12:01:34 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-04-04 12:01:34 +0200
commit3a4a11628a6f80c2caed9488219f19d52f923917 (patch)
tree476e54d05220a6fe65594970b475507e90ebde40 /tests/test_debfile.py
parent50ad561deddca0b239f67ce25fd9800e8bbe94a9 (diff)
parent80e04f26777a5c7bd32b40a48f46f8d9f1c8aeb1 (diff)
downloadpython-apt-3a4a11628a6f80c2caed9488219f19d52f923917.tar.gz
merged from debian-sid
Diffstat (limited to 'tests/test_debfile.py')
-rw-r--r--tests/test_debfile.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_debfile.py b/tests/test_debfile.py
index 426bccde..5f6d1aa2 100644
--- a/tests/test_debfile.py
+++ b/tests/test_debfile.py
@@ -47,6 +47,9 @@ class TestDebfilee(unittest.TestCase):
def setUp(self):
apt_pkg.init_config()
apt_pkg.config.set("APT::Architecture","i386")
+ # FIXME: When run via test_all.py, the tests fail without this if it
+ # is set in the system.
+ apt_pkg.config.clear("APT::Architectures")
apt_pkg.config.set("Dir::State::status",
"./data/test_debs/var/lib/dpkg/status")
apt_pkg.config.set("Dir::State::lists",