507
507
self.my_config._get_global_config()._get_parser(global_file)
509
509
def test_set_user_setting_sets_and_saves(self):
511
510
self.get_location_config('/a/c')
512
511
record = InstrumentedConfigObj("foo")
513
512
self.my_config._parser = record
518
528
self.assertEqual([('__contains__', '/a/c'),
519
529
('__contains__', '/a/c/'),
520
530
('__setitem__', '/a/c', {}),