diff options
| author | Michael Vogt <egon@debian-devbox> | 2011-12-08 20:41:48 +0100 |
|---|---|---|
| committer | Michael Vogt <egon@debian-devbox> | 2011-12-08 20:41:48 +0100 |
| commit | 49a261ded353b836db807b372780a082502e5b5a (patch) | |
| tree | 9bef9306f9f6c764719409e04dd70d872269bd2f /tests/test_debfile.py | |
| parent | d686a36d94e909eefc13403391ee60938f54df5c (diff) | |
| parent | a84352261cd34aaa34b3c4507d9d8e6216170050 (diff) | |
| download | python-apt-49a261ded353b836db807b372780a082502e5b5a.tar.gz | |
* handle architecture-specific conflicts correctly (LP: #829138)
* lp:~mvo/python-apt/debfile-multiarch:
- add multiarch support to the debfile.py code
* tests/test_apt_cache.py:
- add additional check if provides test can actually be run
Diffstat (limited to 'tests/test_debfile.py')
| -rw-r--r-- | tests/test_debfile.py | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/tests/test_debfile.py b/tests/test_debfile.py index af04af26..04a6b65a 100644 --- a/tests/test_debfile.py +++ b/tests/test_debfile.py @@ -17,8 +17,8 @@ sys.path.insert(0, get_library_dir()) import apt_pkg import apt.debfile -class TestDebfilee(unittest.TestCase): - """ test the apt cache """ +class TestDebfile(unittest.TestCase): + """ test the debfile """ TEST_DEBS = [ # conflicts with apt @@ -131,15 +131,6 @@ Description: testpackage for gdebi - contains usr/bin/binary for file reading # we need to support python2.6 self.assertTrue(raised) - def test_multiarch_deb(self): - if apt_pkg.get_architectures() != ["amd64", "i386"]: - logging.warn("skipping test because running on a non-multiarch system") - return - deb = apt.debfile.DebPackage("./data/test_debs/multiarch-test1_i386.deb") - res = deb.check() - # FIXME: do something sensible with the multiarch test - - if __name__ == "__main__": #logging.basicConfig(level=logging.DEBUG) |
