541
547
my_config = config.BranchConfig(branch)
542
548
self.assertEqual("Robert Collins <robertc@example.net>",
543
549
my_config._get_user_id())
545
551
self.assertEqual("John", my_config._get_user_id())
547
553
def test_not_set_in_branch(self):
549
555
my_config = config.BranchConfig(branch)
551
557
config_file = StringIO(sample_config_text)
552
558
(my_config._get_location_config().
553
559
_get_global_config()._get_parser(config_file))
554
560
self.assertEqual("Robert Collins <robertc@example.com>",
555
561
my_config._get_user_id())
557
563
self.assertEqual("John", my_config._get_user_id())
559
565
def test_BZREMAIL_OVERRIDES(self):