diff options
| author | Jenkins <jenkins@review.openstack.org> | 2013-01-28 07:56:48 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2013-01-28 07:56:48 +0000 |
| commit | ce750df25d8a530c0f01bc51dc33ac9bdf5188a2 (patch) | |
| tree | 4e3955175974aa4dd2b3eb3801162ec034d48e93 /tests/unit/test_rootwrap.py | |
| parent | c4e28c11c3228c1cee753798ff3b9c03bff0289a (diff) | |
| parent | 60f70b0b3996365a889546eb1e4c5c7edc4cfde0 (diff) | |
Merge "Replaced direct usage of stubout with BaseTestCase."
Diffstat (limited to 'tests/unit/test_rootwrap.py')
| -rw-r--r-- | tests/unit/test_rootwrap.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/unit/test_rootwrap.py b/tests/unit/test_rootwrap.py index 30708d3..e2b4697 100644 --- a/tests/unit/test_rootwrap.py +++ b/tests/unit/test_rootwrap.py @@ -18,19 +18,17 @@ import ConfigParser import logging import logging.handlers import os -import stubout import subprocess -import testtools from openstack.common.rootwrap import filters from openstack.common.rootwrap import wrapper +from tests import utils -class RootwrapTestCase(testtools.TestCase): +class RootwrapTestCase(utils.BaseTestCase): def setUp(self): super(RootwrapTestCase, self).setUp() - self.stubs = stubout.StubOutForTesting() self.filters = [ filters.RegExpFilter("/bin/ls", "root", 'ls', '/[a-z]+'), filters.CommandFilter("/usr/bin/foo_bar_not_exist", "root"), |
