Re-factor the option parsing following a suggestion from Greg.
Eliminate the <topic>.parse altogether.
Signed-off-by: Jean-Marc Eurin <[email protected]>
git-svn-id: http://test.kernel.org/svn/autotest/trunk@3081 592f7852-d20e-0410-864c-8624ca9c26a4
diff --git a/cli/cli_mock.py b/cli/cli_mock.py
index c616bee..27b16ac 100755
--- a/cli/cli_mock.py
+++ b/cli/cli_mock.py
@@ -26,12 +26,14 @@
class cli_unittest(unittest.TestCase):
def setUp(self):
+ super(cli_unittest, self).setUp()
self.god = mock.mock_god(debug=CLI_UT_DEBUG)
self.god.stub_class_method(rpc.afe_comm, 'run')
self.god.stub_function(sys, 'exit')
def tearDown(self):
+ super(cli_unittest, self).tearDown()
self.god.unstub_all()