/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: Jelmer Vernooij
  • Date: 2011-11-21 15:05:28 UTC
  • mfrom: (6282 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6316.
  • Revision ID: jelmer@samba.org-20111121150528-qxdcnj8s8z12zkt4
Merge bzr.dev.

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()