python-novaclient/novaclient/tests/functional/v2/test_fixedips.py
Andrey Kurilin 0455932c3a Split functional tests for legacy(V2.1) and microversions
It would be nice to ensure that fundamental use-cases of novaclient work
for both legacy(V2.1) and for microversions(latest or specified microversion).

Change-Id: Icae73dd221c9787fd08facc8642c5b564e82393a
2015-09-21 12:07:18 +03:00

24 lines
924 B
Python

# Copyright 2015 IBM Corp.
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
# a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
from novaclient.tests.functional.v2.legacy import test_fixedips
class TestFixedIPsNovaClientV24(test_fixedips.TestFixedIPsNovaClient):
"""FixedIPs functional tests for v2.4 nova-api microversion."""
COMPUTE_API_VERSION = '2.4'
def test_fixedip_get(self):
self._test_fixedip_get(expect_reserved=True)