~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_debug.py

  • Committer: Jelmer Vernooij
  • Date: 2010-08-23 20:37:18 UTC
  • mto: This revision was merged to the branch mainline in revision 5389.
  • Revision ID: jelmer@samba.org-20100823203718-1fj7rrjsiaxedkp7
Provide bzrlib.bzrdir.format_registry.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2009 Canonical Ltd
 
1
# Copyright (C) 2009, 2010 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
20
20
import os
21
21
 
22
22
 
23
 
from bzrlib import debug
 
23
from bzrlib import (
 
24
    debug,
 
25
    tests,
 
26
    )
24
27
from bzrlib.config import config_filename, ensure_config_dir_exists
25
 
from bzrlib.transport import get_transport
26
 
from bzrlib.tests import TestCaseInTempDir
27
 
 
28
 
 
29
 
class TestDebugFlags(TestCaseInTempDir):
 
28
 
 
29
 
 
30
class TestDebugFlags(tests.TestCaseInTempDir):
30
31
 
31
32
    def test_set_debug_flags_from_config(self):
32
33
        # test both combinations because configobject automatically splits up