summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/network
diff options
context:
space:
mode:
authorHuanxuan Ao <huanxuan.ao@easystack.cn>2017-01-06 13:14:37 +0800
committerHuanxuan Ao <huanxuan.ao@easystack.cn>2017-01-06 13:37:32 +0800
commitd80b1465e6ea6019531a2bd1df4599e28afdebf4 (patch)
treebd21485088559500d2dfbe51dc7c71be10ba69c4 /openstackclient/tests/functional/network
parent4d15a2a8fc50e64c73001a56d15763778f6dda5b (diff)
downloadpython-openstackclient-d80b1465e6ea6019531a2bd1df4599e28afdebf4.tar.gz
Fix network service provider functional test
SDK refactor broken network service provider functional test, tested this command works, but there is a error in the funtional test, so fix it. Change-Id: I783c58cedd39a05b665e47709b2b5321871e558b Closes-Bug: 1653138
Diffstat (limited to 'openstackclient/tests/functional/network')
-rw-r--r--openstackclient/tests/functional/network/v2/test_network_service_provider.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/openstackclient/tests/functional/network/v2/test_network_service_provider.py b/openstackclient/tests/functional/network/v2/test_network_service_provider.py
index 82420ea3..6fbff6c8 100644
--- a/openstackclient/tests/functional/network/v2/test_network_service_provider.py
+++ b/openstackclient/tests/functional/network/v2/test_network_service_provider.py
@@ -13,17 +13,14 @@
# License for the specific language governing permissions and limitations
# under the License.
-import testtools
-
from openstackclient.tests.functional import base
class TestNetworkServiceProvider(base.TestCase):
"""Functional tests for network service provider"""
- SERVICE_TYPE = ['L3_ROUTER_NAT']
+ SERVICE_TYPE = 'L3_ROUTER_NAT'
- @testtools.skip('broken SDK testing')
def test_network_service_provider_list(self):
raw_output = self.openstack('network service provider list')
self.assertIn(self.SERVICE_TYPE, raw_output)