OSC 3.10 integration

openstackclient upper version was bumped, causing our unitests to fail.
This patch integrate with the new version, and set it in the
requirements.

Change-Id: I66c4467a3b3fe8e9e48e6a524e7184c51a138a8c
This commit is contained in:
Adit Sarfaty 2017-05-04 08:39:33 +03:00
parent 586f8afb53
commit fb54cc2839
2 changed files with 5 additions and 4 deletions

View File

@ -13,7 +13,7 @@ six>=1.9.0 # MIT
stevedore>=1.20.0 # Apache-2.0
neutron-lib>=1.2.0 # Apache-2.0
osc-lib>=1.2.0 # Apache-2.0
python-openstackclient>=3.3.0 # Apache-2.0
python-openstackclient>=3.10.0 # Apache-2.0
oslo.concurrency>=3.8.0 # Apache-2.0
oslo.config>=3.22.0 # Apache-2.0
oslo.db>=4.15.0 # Apache-2.0

View File

@ -16,7 +16,7 @@
import mock
import re
from openstackclient.tests.unit.network.v2 import test_security_group
from openstackclient.tests.unit.network.v2 import test_security_group_network
from openstackclient.tests.unit import utils as tests_utils
from vmware_nsx.osc.v2 import security_group
@ -28,7 +28,7 @@ supported_extensions = ('security-group-logging',
class TestCreateSecurityGroup(
test_security_group.TestCreateSecurityGroupNetwork):
test_security_group_network.TestCreateSecurityGroupNetwork):
def setUp(self):
super(TestCreateSecurityGroup, self).setUp()
@ -109,7 +109,8 @@ class TestCreateSecurityGroup(
self._test_create_with_arg_val('policy', 'policy-1')
class TestSetSecurityGroup(test_security_group.TestSetSecurityGroupNetwork):
class TestSetSecurityGroup(
test_security_group_network.TestSetSecurityGroupNetwork):
def setUp(self):
super(TestSetSecurityGroup, self).setUp()