diff options
author | Linda Wang <wangwulin@huawei.com> | 2017-12-21 01:54:28 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-21 01:54:28 +0000 |
commit | 0eaf50150fccd1acd1e8d8c2bbd8ef0a1e1afc3f (patch) | |
tree | 20de7eee379e9d0257d19ed5689a31f3e2a73d96 /functest/tests/unit/cli/test_cli_base.py | |
parent | ed9c3b0b4aaa751e298aed6c52f56d2a0319c70d (diff) | |
parent | 00c01aeafab54ec7b9ea376099fb6aaff0da5f5a (diff) |
Merge "Remove openstack_[clean,snapshot]"
Diffstat (limited to 'functest/tests/unit/cli/test_cli_base.py')
-rw-r--r-- | functest/tests/unit/cli/test_cli_base.py | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/functest/tests/unit/cli/test_cli_base.py b/functest/tests/unit/cli/test_cli_base.py index 08c9b736..bc2ca903 100644 --- a/functest/tests/unit/cli/test_cli_base.py +++ b/functest/tests/unit/cli/test_cli_base.py @@ -35,26 +35,6 @@ class CliBaseTesting(unittest.TestCase): self.assertEqual(result.exit_code, 0) self.assertTrue(mock_method.called) - def test_os_snapshot_create(self): - with mock.patch.object(self._openstack, 'snapshot_create') \ - as mock_method: - result = self.runner.invoke(cli_base.os_snapshot_create) - self.assertEqual(result.exit_code, 0) - self.assertTrue(mock_method.called) - - def test_os_snapshot_show(self): - with mock.patch.object(self._openstack, 'snapshot_show') \ - as mock_method: - result = self.runner.invoke(cli_base.os_snapshot_show) - self.assertEqual(result.exit_code, 0) - self.assertTrue(mock_method.called) - - def test_os_clean(self): - with mock.patch.object(self._openstack, 'clean') as mock_method: - result = self.runner.invoke(cli_base.os_clean) - self.assertEqual(result.exit_code, 0) - self.assertTrue(mock_method.called) - def test_os_show_credentials(self): with mock.patch.object(self._openstack, 'show_credentials') \ as mock_method: |