~brian-murray/apport/test-fix

« back to all changes in this revision

Viewing changes to test/test_backend_apt_dpkg.py

  • Committer: Martin Pitt
  • Date: 2015-06-29 13:31:02 UTC
  • Revision ID: martin.pitt@canonical.com-20150629133102-eqb6al662q20ymdm
* apt/dpkg install_packages(): Ignore -dbg packages whose descriptions contain "transitional". (LP: #1469635)

Show diffs side-by-side

added added

removed removed

Lines of Context:
848
848
                                          ('distro-info-data',
849
849
                                           '0.18ubuntu0.2'),
850
850
                                          ('qemu-utils',
851
 
                                           '2.0.0+dfsg-2ubuntu1.11')
 
851
                                           '2.0.0+dfsg-2ubuntu1.11'),
 
852
                                          ('unity-services',
 
853
                                           '7.2.5+14.04.20150521.1-0ubuntu1'),
852
854
                                         ], False, self.cachedir)
853
855
 
854
856
        def sandbox_ver(pkg, debian=True):
884
886
        self.assertIn('distro-info-data 0.18ubuntu0.2', pkglist)
885
887
        self.assertIn('qemu-utils-dbgsym 2.0.0+dfsg-2ubuntu1.11',
886
888
                      pkglist)
 
889
        self.assertIn('unity-services-dbgsym 7.2.5+14.04.20150521.1-0ubuntu1',
 
890
                      pkglist)
887
891
 
888
892
        # caches packages, and their versions are as expected
889
893
        cache = os.listdir(os.path.join(self.cachedir, 'Foonux 1.2', 'apt',