~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Andrew Bennetts
  • Date: 2010-10-08 08:15:14 UTC
  • mto: This revision was merged to the branch mainline in revision 5498.
  • Revision ID: andrew.bennetts@canonical.com-20101008081514-dviqzrdfwyzsqbz2
Split NEWS into per-release doc/en/release-notes/bzr-*.txt

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2010, 2011, 2012, 2016 Canonical Ltd
 
1
# Copyright (C) 2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
35
35
        config.set_user_option('name', value_dict.copy())
36
36
        self.assertEqual(value_dict, config.get_user_option('name'))
37
37
 
38
 
    def test_set_submit_branch(self):
39
 
        # Make sure setting a config option persists on disk
40
 
        b = self.make_branch('.')
41
 
        b.set_submit_branch('foo')
42
 
        # Refresh the branch
43
 
        b = branch.Branch.open('.')
44
 
        self.assertEqual('foo', b.get_submit_branch())
45
 
 
46
38