diff options
| author | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-08 20:03:15 +0100 |
|---|---|---|
| committer | Michael Vogt <michael.vogt@ubuntu.com> | 2011-12-08 20:03:15 +0100 |
| commit | 2970a61bf162c15114f16ede822f02dc7968ac37 (patch) | |
| tree | 0599e4661829e794e8e4f998f17db8d998c63e19 /tests/test_debfile.py | |
| parent | 350bb4a03d6562ddba12fbb0a34610aac7706b3c (diff) | |
| parent | 5416003d5acd3630bff5b48f69277b5e1d917f20 (diff) | |
| download | python-apt-2970a61bf162c15114f16ede822f02dc7968ac37.tar.gz | |
* lp:~mvo/python-apt/debfile-multiarch:
- add multiarch support to the debfile.py code
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) |
