~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: 2006-11-18 22:38:16 UTC
  • mfrom: (2120.5.4 autonick.fix)
  • Revision ID: pqm@pqm.ubuntu.com-20061118223816-98bad5e152872c81
Whitebox test for Config.get_nickname (req. by Aaron Bentley)

Show diffs side-by-side

added added

removed removed

Lines of Context:
393
393
        self.check_file_contents(locations,
394
394
            '[%s/branch]\npush_location = http://foobar' % (local_path,))
395
395
 
 
396
    def test_autonick_urlencoded(self):
 
397
        b = self.make_branch('!repo')
 
398
        self.assertEqual('!repo', b.get_config().get_nickname())
 
399
 
396
400
 
397
401
class TestGlobalConfigItems(TestCase):
398
402