Skip to content

Commit f020a9f

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Revert "WIP: Skip broken functional tests...""
2 parents 17a249c + 13c8a1c commit f020a9f

6 files changed

Lines changed: 0 additions & 20 deletions

File tree

openstackclient/tests/functional/common/test_quota.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
import testtools
14-
1513
from openstackclient.tests.functional import base
1614

1715

@@ -27,27 +25,23 @@ def setUpClass(cls):
2725
cls.PROJECT_NAME =\
2826
cls.get_openstack_configuration_value('auth.project_name')
2927

30-
@testtools.skip('broken SDK testing')
3128
def test_quota_set(self):
3229
self.openstack('quota set --instances 11 --volumes 11 --networks 11 ' +
3330
self.PROJECT_NAME)
3431
opts = self.get_opts(self.EXPECTED_FIELDS)
3532
raw_output = self.openstack('quota show ' + self.PROJECT_NAME + opts)
3633
self.assertEqual("11\n11\n11\n", raw_output)
3734

38-
@testtools.skip('broken SDK testing')
3935
def test_quota_show(self):
4036
raw_output = self.openstack('quota show ' + self.PROJECT_NAME)
4137
for expected_field in self.EXPECTED_FIELDS:
4238
self.assertIn(expected_field, raw_output)
4339

44-
@testtools.skip('broken SDK testing')
4540
def test_quota_show_default_project(self):
4641
raw_output = self.openstack('quota show')
4742
for expected_field in self.EXPECTED_FIELDS:
4843
self.assertIn(expected_field, raw_output)
4944

50-
@testtools.skip('broken SDK testing')
5145
def test_quota_show_with_default_option(self):
5246
raw_output = self.openstack('quota show --default')
5347
for expected_field in self.EXPECTED_FIELDS:

openstackclient/tests/functional/network/v2/test_network_agent.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,6 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
import testtools
14-
1513
from openstackclient.tests.functional import base
1614

1715

@@ -28,13 +26,11 @@ def test_network_agent_list(cls):
2826
# get the list of network agent IDs.
2927
cls.IDs = raw_output.split('\n')
3028

31-
@testtools.skip('broken SDK testing')
3229
def test_network_agent_show(self):
3330
opts = self.get_opts(self.FIELDS)
3431
raw_output = self.openstack('network agent show ' + self.IDs[0] + opts)
3532
self.assertEqual(self.IDs[0] + "\n", raw_output)
3633

37-
@testtools.skip('broken SDK testing')
3834
def test_network_agent_set(self):
3935
opts = self.get_opts(['admin_state_up'])
4036
self.openstack('network agent set --disable ' + self.IDs[0])

openstackclient/tests/functional/network/v2/test_network_qos_policy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# License for the specific language governing permissions and limitations
1414
# under the License.
1515

16-
import testtools
1716
import uuid
1817

1918
from openstackclient.tests.functional import base
@@ -26,7 +25,6 @@ class QosPolicyTests(base.TestCase):
2625
FIELDS = ['name']
2726

2827
@classmethod
29-
@testtools.skip('broken SDK testing')
3028
def setUpClass(cls):
3129
opts = cls.get_opts(cls.FIELDS)
3230
raw_output = cls.openstack('network qos policy create ' + cls.NAME +

openstackclient/tests/functional/network/v2/test_port.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
import testtools
1413
import uuid
1514

1615
from openstackclient.tests.functional import base
@@ -24,7 +23,6 @@ class PortTests(base.TestCase):
2423
FIELDS = ['name']
2524

2625
@classmethod
27-
@testtools.skip('broken SDK testing')
2826
def setUpClass(cls):
2927
# Create a network for the subnet.
3028
cls.openstack('network create ' + cls.NETWORK_NAME)

openstackclient/tests/functional/network/v2/test_security_group.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
import testtools
1413
import uuid
1514

1615
from openstackclient.tests.functional import base
@@ -24,7 +23,6 @@ class SecurityGroupTests(base.TestCase):
2423
FIELDS = ['name']
2524

2625
@classmethod
27-
@testtools.skip('broken SDK testing')
2826
def setUpClass(cls):
2927
opts = cls.get_opts(cls.FIELDS)
3028
raw_output = cls.openstack('security group create ' + cls.NAME + opts)

openstackclient/tests/functional/network/v2/test_security_group_rule.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# License for the specific language governing permissions and limitations
1111
# under the License.
1212

13-
import testtools
1413
import uuid
1514

1615
from openstackclient.tests.functional import base
@@ -25,7 +24,6 @@ class SecurityGroupRuleTests(base.TestCase):
2524
ID_HEADER = ['ID']
2625

2726
@classmethod
28-
@testtools.skip('broken SDK testing')
2927
def setUpClass(cls):
3028
# Create the security group to hold the rule.
3129
opts = cls.get_opts(cls.NAME_FIELD)
@@ -54,15 +52,13 @@ def tearDownClass(cls):
5452
cls.SECURITY_GROUP_NAME)
5553
cls.assertOutput('', raw_output)
5654

57-
@testtools.skip('broken SDK testing')
5855
def test_security_group_rule_list(self):
5956
opts = self.get_opts(self.ID_HEADER)
6057
raw_output = self.openstack('security group rule list ' +
6158
self.SECURITY_GROUP_NAME +
6259
opts)
6360
self.assertIn(self.SECURITY_GROUP_RULE_ID, raw_output)
6461

65-
@testtools.skip('broken SDK testing')
6662
def test_security_group_rule_show(self):
6763
opts = self.get_opts(self.ID_FIELD)
6864
raw_output = self.openstack('security group rule show ' +

0 commit comments

Comments
 (0)