/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_reference.py

  • Committer: Jelmer Vernooij
  • Date: 2018-11-11 04:08:32 UTC
  • mto: (7143.16.20 even-more-cleanups)
  • mto: This revision was merged to the branch mainline in revision 7175.
  • Revision ID: jelmer@jelmer.uk-20181111040832-nsljjynzzwmznf3h
Run autopep8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        tree = self.make_branch_and_tree('tree')
45
45
        self.build_tree(['tree/newpath'])
46
46
        tree.add('newpath', b'file-id')
47
 
        tree.branch.set_reference_info('newpath', 'http://example.org', b'file-id')
 
47
        tree.branch.set_reference_info(
 
48
            'newpath', 'http://example.org', b'file-id')
48
49
        tree.branch.set_reference_info('lath', 'http://example.org/2',
49
 
                b'file-id2')
 
50
                                       b'file-id2')
50
51
        return tree
51
52
 
52
53
    def test_uses_working_tree_location(self):
91
92
    def test_missing_file_forced(self):
92
93
        tree = self.make_branch_and_tree('tree')
93
94
        out, err = self.run_bzr(
94
 
                'reference --force-unversioned file http://example.org',
95
 
                working_dir='tree')
 
95
            'reference --force-unversioned file http://example.org',
 
96
            working_dir='tree')
96
97
        location, file_id = tree.branch.get_reference_info('file')
97
98
        self.assertEqual('http://example.org', location)
98
99
        self.assertEqual('', out)