aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/cli/test_cli_base.py
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-11-23 08:55:04 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-11-23 08:55:04 +0000
commit71ba783c1279370af035ff7cac2de7522e95de78 (patch)
treee5d60fb97657c9204d7f749d059f26530d9594cb /functest/tests/unit/cli/test_cli_base.py
parent01a5192428eb99afcb94047e6faa54e1d57114d1 (diff)
parentd4996440fa16297aee7a925e6357a9cfd42d24f8 (diff)
Merge "Remove prepare_env"
Diffstat (limited to 'functest/tests/unit/cli/test_cli_base.py')
-rw-r--r--functest/tests/unit/cli/test_cli_base.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/functest/tests/unit/cli/test_cli_base.py b/functest/tests/unit/cli/test_cli_base.py
index 61bd093e..08c9b736 100644
--- a/functest/tests/unit/cli/test_cli_base.py
+++ b/functest/tests/unit/cli/test_cli_base.py
@@ -62,24 +62,12 @@ class CliBaseTesting(unittest.TestCase):
self.assertEqual(result.exit_code, 0)
self.assertTrue(mock_method.called)
- def test_env_prepare(self):
- with mock.patch.object(self._env, 'prepare') as mock_method:
- result = self.runner.invoke(cli_base.env_prepare)
- self.assertEqual(result.exit_code, 0)
- self.assertTrue(mock_method.called)
-
def test_env_show(self):
with mock.patch.object(self._env, 'show') as mock_method:
result = self.runner.invoke(cli_base.env_show)
self.assertEqual(result.exit_code, 0)
self.assertTrue(mock_method.called)
- def test_env_status(self):
- with mock.patch.object(self._env, 'status') as mock_method:
- result = self.runner.invoke(cli_base.env_status)
- self.assertEqual(result.exit_code, 0)
- self.assertTrue(mock_method.called)
-
def test_testcase_list(self):
with mock.patch.object(self._testcase, 'list') as mock_method:
result = self.runner.invoke(cli_base.testcase_list)