~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_branch.py

Move the '_save' parameter from '__init__' to 'from_bytes', fix fallouts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
619
619
 
620
620
    def test_get_push_location_exact(self):
621
621
        b = self.get_branch()
622
 
        config.LocationConfig(b.base, _save=True,
623
 
                              _content='[%s]\npush_location=foo\n' % (b.base,))
 
622
        config.LocationConfig.from_bytes(
 
623
            '[%s]\npush_location=foo\n' % (b.base,), b.base, save=True)
624
624
        self.assertEqual("foo", self.get_branch().get_push_location())
625
625
 
626
626
    def test_set_push_location(self):