/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/tests/blackbox/test_pull.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2019-02-14 22:34:33 UTC
  • mfrom: (7268.11.6 location-purpose)
  • Revision ID: breezy.the.bot@gmail.com-20190214223433-gh3r94zi6j1mf1kt
Add a purpose argument to location dereference functions.

Merged from https://code.launchpad.net/~jelmer/brz/location-purpose/+merge/362940

Show diffs side-by-side

added added

removed removed

Lines of Context:
353
353
        class FooService(object):
354
354
            """A directory service that always returns source"""
355
355
 
356
 
            def look_up(self, name, url):
 
356
            def look_up(self, name, url, purpose=None):
357
357
                return 'source'
358
358
        directories.register('foo:', FooService, 'Testing directory service')
359
359
        self.addCleanup(directories.remove, 'foo:')