27
27
class TestDebugFlags(tests.TestCaseInTempDir):
32
self.assertDebugFlags(['hpss', 'error'], 'debug_flags = hpss, error\n')
33
33
self.assertDebugFlags(['hpss'], 'debug_flags = hpss\n')
36
self.assertDebugFlags(['hpss', 'error'], 'debug_flags = hpss, error\n')
38
35
def assertDebugFlags(self, expected_flags, conf_bytes):
39
36
conf = config.GlobalStack()
40
37
conf.store._load_from_string('[DEFAULT]\n' + conf_bytes)