/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_debug.py

  • Committer: Patch Queue Manager
  • Date: 2011-11-17 17:41:45 UTC
  • mfrom: (6260.3.3 config-command)
  • Revision ID: pqm@pqm.ubuntu.com-20111117174145-2nb7jko9c5t7llcb
(vila) Switch ``bzr config`` to the stack-based config implementation
 (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
 
35
35
    def assertDebugFlags(self, expected_flags, conf_bytes):
36
36
        conf = config.GlobalStack()
37
 
        conf.store._load_from_string(conf_bytes)
 
37
        conf.store._load_from_string('[DEFAULT]\n' + conf_bytes)
38
38
        conf.store.save()
39
39
        self.overrideAttr(debug, 'debug_flags', set())
40
40
        debug.set_debug_flags_from_config()