~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_config.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-08-12 20:18:55 UTC
  • mfrom: (3616.2.12 bzr.work.tests.blackbox)
  • Revision ID: pqm@pqm.ubuntu.com-20080812201855-9qxbdo0t2h9byzhj
(Mark Hammond) Win32 test fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
951
951
        self.assertIs(self.my_config.get_user_option('foo'), None)
952
952
        self.my_config.set_user_option('foo', 'bar')
953
953
        self.assertEqual(
954
 
            self.my_config.branch.control_files.files['branch.conf'],
955
 
            'foo = bar\n')
 
954
            self.my_config.branch.control_files.files['branch.conf'].strip(),
 
955
            'foo = bar')
956
956
        self.assertEqual(self.my_config.get_user_option('foo'), 'bar')
957
957
        self.my_config.set_user_option('foo', 'baz',
958
958
                                       store=config.STORE_LOCATION)