summaryrefslogtreecommitdiff
path: root/novaclient/tests/unit/test_client.py
diff options
context:
space:
mode:
authorAndrey Kurilin <akurilin@mirantis.com>2015-03-31 18:09:36 +0300
committerAndrey Kurilin <akurilin@mirantis.com>2015-04-22 15:03:07 +0300
commit61ef35fe79e2a3a76987a92f9ee2db0bf1f6e651 (patch)
tree04133ff5b6f274a2885bf499e4952f3c751df324 /novaclient/tests/unit/test_client.py
parent5eab1430f2a7a91e2df22405913f328c9870b2e3 (diff)
downloadpython-novaclient-61ef35fe79e2a3a76987a92f9ee2db0bf1f6e651.tar.gz
Deprecate v1.1 and remove v3
Module novaclient.v1_1 is already deprecated, so it's time to stop using it inside novaclient. Since support of v3 nova is undocumented feature, which uses v2 implementation, we can remove code related to it. Also, this patch removes redundant check for compute api version != 1.0. Change-Id: I06b349f704d5ae2c592d8d286da268870f2a69e9
Diffstat (limited to 'novaclient/tests/unit/test_client.py')
-rw-r--r--novaclient/tests/unit/test_client.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/novaclient/tests/unit/test_client.py b/novaclient/tests/unit/test_client.py
index 805278cc..a828503e 100644
--- a/novaclient/tests/unit/test_client.py
+++ b/novaclient/tests/unit/test_client.py
@@ -161,10 +161,6 @@ class ClientTest(utils.TestCase):
self._check_version_url('http://foo.com/nova/v2/%s',
'http://foo.com/nova/')
- def test_get_client_class_v3(self):
- output = novaclient.client.get_client_class('3')
- self.assertEqual(output, novaclient.v2.client.Client)
-
def test_get_client_class_v2(self):
output = novaclient.client.get_client_class('2')
self.assertEqual(output, novaclient.v2.client.Client)