/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: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2017-06-10 18:19:26 UTC
  • mfrom: (6672.1.3 kill-api)
  • Revision ID: breezy.the.bot@gmail.com-20170610181926-cmki2ndblpjrtn7k
Remove ``breezy.api`` and the concept of API versions.

Merged from https://code.launchpad.net/~jelmer/brz/kill-api/+merge/325442

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