29
29
def test_set_debug_flags_from_config(self):
30
30
# test both combinations because configobject automatically splits up
32
self.assertDebugFlags(['hpss', 'error'], 'debug_flags = hpss, error\n')
32
self.try_debug_flags(['hpss', 'error'], 'debug_flags = hpss, error\n')
39
37
self.overrideAttr(debug, 'debug_flags', set())
40
38
debug.set_debug_flags_from_config()
41
39
self.assertEqual(set(expected_flags), debug.debug_flags)