diff options
author | Monty Taylor <mordred@inaugust.com> | 2013-01-23 09:59:46 -0500 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2013-01-24 16:30:26 +1100 |
commit | 8c80224ecb5194a5e2ed5f74f1c7f457202d21a3 (patch) | |
tree | a557a9524e402e8cd98da702ea805c1cf8d430bb /tests/unit/test_processutils.py | |
parent | 3d2800087ce38ff954c50e5a86916784682ed1bd (diff) | |
download | oslo-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_processutils.py')
-rw-r--r-- | tests/unit/test_processutils.py | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/tests/unit/test_processutils.py b/tests/unit/test_processutils.py index a140aaa..13d0846 100644 --- a/tests/unit/test_processutils.py +++ b/tests/unit/test_processutils.py @@ -15,14 +15,13 @@ # License for the specific language governing permissions and limitations # under the License. -import testtools - import mock from openstack.common import processutils +from tests import utils -class UtilsTest(testtools.TestCase): +class UtilsTest(utils.BaseTestCase): # NOTE(jkoelker) Moar tests from nova need to be ported. But they # need to be mock'd out. Currently they requre actually # running code. @@ -32,7 +31,7 @@ class UtilsTest(testtools.TestCase): hozer=True) -class ProcessExecutionErrorTest(testtools.TestCase): +class ProcessExecutionErrorTest(utils.BaseTestCase): def test_defaults(self): err = processutils.ProcessExecutionError() |