/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/per_foreign_vcs/test_repository.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 00:16:27 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7318.
  • Revision ID: jelmer@jelmer.uk-20190304001627-v6u7o6pf97tukhek
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
 
29
29
    def test_format_string(self):
30
30
        self.assertRaises(NotImplementedError,
31
 
            self.repository_format.get_format_string)
 
31
                          self.repository_format.get_format_string)
32
32
 
33
33
    def test_network_name(self):
34
34
        self.assertIsInstance(self.repository_format.network_name(),
35
 
            bytes)
 
35
                              bytes)
36
36
 
37
37
    def test_format_description(self):
38
38
        self.assertIsInstance(self.repository_format.get_format_description(),
39
 
            str)
 
39
                              str)
40
40
 
41
41
 
42
42
class ForeignRepositoryFactory(object):
59
59
    # XXX: Some of these tests could be moved into a common testcase for
60
60
    # both native and foreign repositories.
61
61
 
62
 
    repository_factory = None # Set to an instance of ForeignRepositoryFactory by the scenario
 
62
    # Set to an instance of ForeignRepositoryFactory by the scenario
 
63
    repository_factory = None
63
64
 
64
65
    def make_repository(self):
65
66
        return self.repository_factory.make_repository(self.get_transport())