/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to breezy/plugins/launchpad/test_lp_api.py

  • Committer: Jelmer Vernooij
  • Date: 2017-06-10 18:44:23 UTC
  • mfrom: (6681 work)
  • mto: This revision was merged to the branch mainline in revision 6684.
  • Revision ID: jelmer@jelmer.uk-20170610184423-viizzbubmjxjq5p9
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
61
61
    def test_unsupported_launchpadlib_version(self):
62
62
        # If the installed version of launchpadlib is less than the minimum
63
63
        # required version of launchpadlib, check_launchpadlib_compatibility
64
 
        # raises an IncompatibleAPI error.
 
64
        # raises an DependencyNotPresent error.
65
65
        launchpadlib = launchpadlib_feature.module
66
66
        self.patch(launchpadlib, '__version__', '1.5.0')
67
67
        self.lp_api.MINIMUM_LAUNCHPADLIB_VERSION = (1, 5, 1)
68
68
        self.assertRaises(
69
 
            errors.IncompatibleAPI,
 
69
            errors.DependencyNotPresent,
70
70
            self.lp_api.check_launchpadlib_compatibility)
71
71
 
72
72