/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/test_extract.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:
57
57
        self.build_tree(['a/', 'a/b/', 'a/b/c/', 'a/b/c/d/', 'a/b/c/d/e'])
58
58
        wt = a_branch.create_checkout('a', lightweight=True)
59
59
        wt.add(['b', 'b/c', 'b/c/d', 'b/c/d/e/'], [b'b-id', b'c-id', b'd-id',
60
 
                b'e-id'])
 
60
                                                   b'e-id'])
61
61
        wt.commit('added files')
62
62
        b_wt = wt.extract('b/c/d')
63
63
        b_branch = branch.Branch.open('branch/b/c/d')
73
73
 
74
74
    def test_good_repo_format(self):
75
75
        repo = self.make_repository('branch', shared=True,
76
 
            format='dirstate-with-subtree')
 
76
                                    format='dirstate-with-subtree')
77
77
        a_branch = repo.controldir.create_branch()
78
78
        wt_b = self.extract_in_checkout(a_branch)
79
79
        self.assertEqual(wt_b.branch.repository.controldir.transport.base,
80
 
        repo.controldir.transport.base)
 
80
                         repo.controldir.transport.base)