/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_interbranch/test_fetch.py

  • Committer: Breezy landing bot
  • Author(s): Jelmer Vernooij
  • Date: 2018-11-16 18:59:44 UTC
  • mfrom: (7143.15.15 more-cleanups)
  • Revision ID: breezy.the.bot@gmail.com-20181116185944-biefv1sub37qfybm
Sprinkle some PEP8iness.

Merged from https://code.launchpad.net/~jelmer/brz/more-cleanups/+merge/358611

Show diffs side-by-side

added added

removed removed

Lines of Context:
54
54
    def test_fetch_revisions_limit(self):
55
55
        """Test fetch-revision operation."""
56
56
        builder = self.make_branch_builder('b1',
57
 
            format=self.branch_format_from._matchingcontroldir)
 
57
                                           format=self.branch_format_from._matchingcontroldir)
58
58
        builder.start_series()
59
59
        rev1 = builder.build_commit()
60
60
        rev2 = builder.build_commit()
65
65
        try:
66
66
            b2.fetch(b1, limit=1)
67
67
        except FetchLimitUnsupported:
68
 
            raise TestNotApplicable('interbranch does not support fetch limits')
 
68
            raise TestNotApplicable(
 
69
                'interbranch does not support fetch limits')
69
70
        except NoRoundtrippingSupport:
70
71
            raise TestNotApplicable(
71
72
                'lossless cross-vcs fetch %r to %r not supported' %
89
90
        try:
90
91
            b2.fetch(b1, limit=1)
91
92
        except FetchLimitUnsupported:
92
 
            raise TestNotApplicable('interbranch does not support fetch limits')
 
93
            raise TestNotApplicable(
 
94
                'interbranch does not support fetch limits')
93
95
        except NoRoundtrippingSupport:
94
96
            raise TestNotApplicable(
95
97
                'lossless cross-vcs fetch %r to %r not supported' %