summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorColin Watson <cjwatson@canonical.com>2012-11-19 13:25:49 +0000
committerColin Watson <cjwatson@canonical.com>2012-11-19 13:25:49 +0000
commit116aa6eec9cf830d81c45ff257f16d7472e5314b (patch)
tree6b60bc8fb402a2b789153d5f0e6db33112566858 /tests
parenta0ecfe1c745e07c41c85b80d747b19179341531d (diff)
downloadpython-apt-116aa6eec9cf830d81c45ff257f16d7472e5314b.tar.gz
* tests/test_debfile_multiarch.py:
- Don't log warnings when skipping tests; the resulting stderr output causes autopkgtest to fail.
Diffstat (limited to 'tests')
-rw-r--r--tests/test_debfile_multiarch.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/test_debfile_multiarch.py b/tests/test_debfile_multiarch.py
index 8da070aa..5e6d0b9a 100644
--- a/tests/test_debfile_multiarch.py
+++ b/tests/test_debfile_multiarch.py
@@ -23,7 +23,8 @@ class TestDebfileMultiarch(unittest.TestCase):
def test_multiarch_deb_check(self):
if apt_pkg.get_architectures() != ["amd64", "i386"]:
- logging.warning("skipping test because running on a non-multiarch system")
+ # TODO: use unittest.skip
+ #logging.warning("skipping test because running on a non-multiarch system")
return
deb = apt.debfile.DebPackage(
"./data/test_debs/multiarch-test1_i386.deb")
@@ -37,7 +38,8 @@ class TestDebfileMultiarch(unittest.TestCase):
# use "lib3ds-1-3" as a test to see if non-multiach lib conflicts work
canary = "lib3ds-1-3"
if not canary in cache:
- logging.warning("skipping test because %s is missing" % canary)
+ # TODO: use unittest.skip
+ #logging.warning("skipping test because %s is missing" % canary)
return
cache[canary].mark_install()
deb = apt.debfile.DebPackage(