summaryrefslogtreecommitdiffstats
path: root/tests/unit/test_fileutils.py
diff options
context:
space:
mode:
authorMonty Taylor <mordred@inaugust.com>2013-01-23 09:59:46 -0500
committerMonty Taylor <mordred@inaugust.com>2013-01-24 16:30:26 +1100
commit8c80224ecb5194a5e2ed5f74f1c7f457202d21a3 (patch)
treea557a9524e402e8cd98da702ea805c1cf8d430bb /tests/unit/test_fileutils.py
parent3d2800087ce38ff954c50e5a86916784682ed1bd (diff)
downloadoslo-8c80224ecb5194a5e2ed5f74f1c7f457202d21a3.tar.gz
oslo-8c80224ecb5194a5e2ed5f74f1c7f457202d21a3.tar.xz
oslo-8c80224ecb5194a5e2ed5f74f1c7f457202d21a3.zip
Replace direct use of testtools BaseTestCase.
Using the BaseTestCase across the tests in the tree lets us put in log fixtures and consistently handle mox and stubout. Part of blueprint grizzly-testtools. Change-Id: Iba7eb2c63b0c514009b2c28e5930b27726a147b0
Diffstat (limited to 'tests/unit/test_fileutils.py')
-rw-r--r--tests/unit/test_fileutils.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/unit/test_fileutils.py b/tests/unit/test_fileutils.py
index 1f8ccd6..5deafac 100644
--- a/tests/unit/test_fileutils.py
+++ b/tests/unit/test_fileutils.py
@@ -15,16 +15,15 @@
# License for the specific language governing permissions and limitations
# under the License.
-import testtools
-
import os
import shutil
import tempfile
from openstack.common import fileutils
+from tests import utils
-class EnsureTree(testtools.TestCase):
+class EnsureTree(utils.BaseTestCase):
def test_ensure_tree(self):
tmpdir = tempfile.mkdtemp()
try: