summaryrefslogtreecommitdiff
path: root/openstackclient/tests/functional/network/v2
diff options
context:
space:
mode:
authorDean Troyer <dtroyer@gmail.com>2017-01-13 14:05:04 -0600
committerDean Troyer <dtroyer@gmail.com>2017-01-14 10:55:12 -0600
commit339af2c20bfe44a772a1e39fc8b769db112b75ce (patch)
tree7110aec66eb9d1d6e4018daf55d49619da45ea8c /openstackclient/tests/functional/network/v2
parent339ab40ee65a3be706591bc795f42b73040af19e (diff)
downloadpython-openstackclient-339af2c20bfe44a772a1e39fc8b769db112b75ce.tar.gz
Fix floating IP delete and show by IP
The floating IP delete and show commands did not work using IP addresses as the selector, only ID. The SDK floating_ip resource does not support but OSC does, so we have to do it ourselves. Now with more SDK 0.9.10 support! Change-Id: Iea1b57cded6b16a56a06af87ab8f1fa001a3485e Closes-bug: 1656402
Diffstat (limited to 'openstackclient/tests/functional/network/v2')
-rw-r--r--openstackclient/tests/functional/network/v2/test_floating_ip.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/openstackclient/tests/functional/network/v2/test_floating_ip.py b/openstackclient/tests/functional/network/v2/test_floating_ip.py
index 5f642f04..f0b12bc7 100644
--- a/openstackclient/tests/functional/network/v2/test_floating_ip.py
+++ b/openstackclient/tests/functional/network/v2/test_floating_ip.py
@@ -14,8 +14,6 @@ import random
import re
import uuid
-import testtools
-
from openstackclient.tests.functional import base
@@ -25,7 +23,6 @@ class FloatingIpTests(base.TestCase):
NETWORK_NAME = uuid.uuid4().hex
@classmethod
- @testtools.skip('broken SDK testing')
def setUpClass(cls):
# Set up some regex for matching below
cls.re_id = re.compile("id\s+\|\s+(\S+)")
@@ -62,7 +59,6 @@ class FloatingIpTests(base.TestCase):
raw_output = cls.openstack('network delete ' + cls.NETWORK_NAME)
cls.assertOutput('', raw_output)
- @testtools.skip('broken SDK testing')
def test_floating_ip_delete(self):
"""Test create, delete multiple"""
raw_output = self.openstack(
@@ -93,7 +89,6 @@ class FloatingIpTests(base.TestCase):
raw_output = self.openstack('floating ip delete ' + ip1 + ' ' + ip2)
self.assertOutput('', raw_output)
- @testtools.skip('broken SDK testing')
def test_floating_ip_list(self):
"""Test create defaults, list filters, delete"""
raw_output = self.openstack(
@@ -135,7 +130,6 @@ class FloatingIpTests(base.TestCase):
# TODO(dtroyer): add more filter tests
- @testtools.skip('broken SDK testing')
def test_floating_ip_show(self):
"""Test show"""
raw_output = self.openstack(