~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_debug.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-07-13 19:02:12 UTC
  • mfrom: (4986.2.8 deprecation)
  • Revision ID: pqm@pqm.ubuntu.com-20100713190212-bnayd5moplwtxhhb
(mbp) change some test tearDowns to addCleanup or overrideAttr (Martin Pool)

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