summaryrefslogtreecommitdiff
path: root/tests/test_debfile.py
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2011-04-04 18:07:10 +0200
committerMichael Vogt <michael.vogt@ubuntu.com>2011-04-04 18:07:10 +0200
commit52475d3ddc835c3b543d98ee1c16df4989a4112d (patch)
treed2049afad1a8f39187fed2a60e1482cfc0a9cd65 /tests/test_debfile.py
parentc26142274b74c53e80c4680822711e2e804c6fb0 (diff)
parent9dd02cdd42eccb8c4e52f08c334df22a31c8d256 (diff)
downloadpython-apt-52475d3ddc835c3b543d98ee1c16df4989a4112d.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",