~jelmer/brz/prober-features

« back to all changes in this revision

Viewing changes to breezy/tests/test_remote.py

  • Committer: Jelmer Vernooij
  • Date: 2019-11-06 01:31:41 UTC
  • Revision ID: jelmer@jelmer.uk-20191106013141-oo5l2xysljg16dx8
Add an optional priority field for probers.

Show diffs side-by-side

added added

removed removed

Lines of Context:
133
133
    def test_find_correct_format(self):
134
134
        """Should open a RemoteBzrDir over a RemoteTransport"""
135
135
        fmt = BzrDirFormat.find_format(self.transport)
136
 
        self.assertTrue(RemoteBzrProber
137
 
                        in controldir.ControlDirFormat._server_probers)
 
136
        self.assertIn(RemoteBzrProber, controldir.ControlDirFormat._probers)
138
137
        self.assertIsInstance(fmt, RemoteBzrDirFormat)
139
138
 
140
139
    def test_open_detected_smart_format(self):