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