/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_directory.py

  • Committer: Jelmer Vernooij
  • Date: 2019-02-09 02:59:15 UTC
  • mto: This revision was merged to the branch mainline in revision 7286.
  • Revision ID: jelmer@jelmer.uk-20190209025915-dckbtruqe0zrd3dq
Add purpose argument.

Show diffs side-by-side

added added

removed removed

Lines of Context:
397
397
        class FooService(object):
398
398
            """A directory service that maps the name to a FILE url"""
399
399
 
400
 
            def look_up(self, name, url):
 
400
            def look_up(self, name, url, purpose=None):
401
401
                if 'lp:///apt' == url:
402
402
                    return target_branch.base.rstrip('/')
403
403
                return '!unexpected look_up value!'