summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorJulian Andres Klode <jak@debian.org>2011-04-04 10:39:26 +0200
committerJulian Andres Klode <jak@debian.org>2011-04-04 10:39:26 +0200
commitc17e4cde5cab0f5290d4b77092dfadf115ba4b02 (patch)
tree77b7ad779157506236240adf7650f88b7567b554 /tests
parent79cb66e2737c3bfd87a5960f175f6281b1565190 (diff)
downloadpython-apt-c17e4cde5cab0f5290d4b77092dfadf115ba4b02.tar.gz
* tests/test_debfile.py:
- Disable multi-arch for the test, it fails when run via test_all.py
Diffstat (limited to 'tests')
-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 32e52ddb..eadfbbd8 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",