Revert "WIP: Skip broken functional tests..."
SDK 0.9.11 caused some failures, its blocked now.  Revert those breakages
that occurred in 0.9.10 -> 0.9.11.
This partially reverts commit 188e32f9e6.
Change-Id: I8b350250dbdcbf5c4599dfb55f6685c0db18bb30
			
			
This commit is contained in:
		| @@ -10,8 +10,6 @@ | ||||
| #    License for the specific language governing permissions and limitations | ||||
| #    under the License. | ||||
|  | ||||
| import testtools | ||||
|  | ||||
| from openstackclient.tests.functional import base | ||||
|  | ||||
|  | ||||
| @@ -27,7 +25,6 @@ class QuotaTests(base.TestCase): | ||||
|         cls.PROJECT_NAME =\ | ||||
|             cls.get_openstack_configuration_value('auth.project_name') | ||||
|  | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def test_quota_set(self): | ||||
|         self.openstack('quota set --instances 11 --volumes 11 --networks 11 ' + | ||||
|                        self.PROJECT_NAME) | ||||
| @@ -35,19 +32,16 @@ class QuotaTests(base.TestCase): | ||||
|         raw_output = self.openstack('quota show ' + self.PROJECT_NAME + opts) | ||||
|         self.assertEqual("11\n11\n11\n", raw_output) | ||||
|  | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def test_quota_show(self): | ||||
|         raw_output = self.openstack('quota show ' + self.PROJECT_NAME) | ||||
|         for expected_field in self.EXPECTED_FIELDS: | ||||
|             self.assertIn(expected_field, raw_output) | ||||
|  | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def test_quota_show_default_project(self): | ||||
|         raw_output = self.openstack('quota show') | ||||
|         for expected_field in self.EXPECTED_FIELDS: | ||||
|             self.assertIn(expected_field, raw_output) | ||||
|  | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def test_quota_show_with_default_option(self): | ||||
|         raw_output = self.openstack('quota show --default') | ||||
|         for expected_field in self.EXPECTED_FIELDS: | ||||
|   | ||||
| @@ -10,8 +10,6 @@ | ||||
| #    License for the specific language governing permissions and limitations | ||||
| #    under the License. | ||||
|  | ||||
| import testtools | ||||
|  | ||||
| from openstackclient.tests.functional import base | ||||
|  | ||||
|  | ||||
| @@ -28,13 +26,11 @@ class NetworkAgentTests(base.TestCase): | ||||
|         # get the list of network agent IDs. | ||||
|         cls.IDs = raw_output.split('\n') | ||||
|  | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def test_network_agent_show(self): | ||||
|         opts = self.get_opts(self.FIELDS) | ||||
|         raw_output = self.openstack('network agent show ' + self.IDs[0] + opts) | ||||
|         self.assertEqual(self.IDs[0] + "\n", raw_output) | ||||
|  | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def test_network_agent_set(self): | ||||
|         opts = self.get_opts(['admin_state_up']) | ||||
|         self.openstack('network agent set --disable ' + self.IDs[0]) | ||||
|   | ||||
| @@ -13,7 +13,6 @@ | ||||
| #    License for the specific language governing permissions and limitations | ||||
| #    under the License. | ||||
|  | ||||
| import testtools | ||||
| import uuid | ||||
|  | ||||
| from openstackclient.tests.functional import base | ||||
| @@ -26,7 +25,6 @@ class QosPolicyTests(base.TestCase): | ||||
|     FIELDS = ['name'] | ||||
|  | ||||
|     @classmethod | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def setUpClass(cls): | ||||
|         opts = cls.get_opts(cls.FIELDS) | ||||
|         raw_output = cls.openstack('network qos policy create ' + cls.NAME + | ||||
|   | ||||
| @@ -10,7 +10,6 @@ | ||||
| #    License for the specific language governing permissions and limitations | ||||
| #    under the License. | ||||
|  | ||||
| import testtools | ||||
| import uuid | ||||
|  | ||||
| from openstackclient.tests.functional import base | ||||
| @@ -24,7 +23,6 @@ class PortTests(base.TestCase): | ||||
|     FIELDS = ['name'] | ||||
|  | ||||
|     @classmethod | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def setUpClass(cls): | ||||
|         # Create a network for the subnet. | ||||
|         cls.openstack('network create ' + cls.NETWORK_NAME) | ||||
|   | ||||
| @@ -10,7 +10,6 @@ | ||||
| #    License for the specific language governing permissions and limitations | ||||
| #    under the License. | ||||
|  | ||||
| import testtools | ||||
| import uuid | ||||
|  | ||||
| from openstackclient.tests.functional import base | ||||
| @@ -24,7 +23,6 @@ class SecurityGroupTests(base.TestCase): | ||||
|     FIELDS = ['name'] | ||||
|  | ||||
|     @classmethod | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def setUpClass(cls): | ||||
|         opts = cls.get_opts(cls.FIELDS) | ||||
|         raw_output = cls.openstack('security group create ' + cls.NAME + opts) | ||||
|   | ||||
| @@ -10,7 +10,6 @@ | ||||
| #    License for the specific language governing permissions and limitations | ||||
| #    under the License. | ||||
|  | ||||
| import testtools | ||||
| import uuid | ||||
|  | ||||
| from openstackclient.tests.functional import base | ||||
| @@ -25,7 +24,6 @@ class SecurityGroupRuleTests(base.TestCase): | ||||
|     ID_HEADER = ['ID'] | ||||
|  | ||||
|     @classmethod | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def setUpClass(cls): | ||||
|         # Create the security group to hold the rule. | ||||
|         opts = cls.get_opts(cls.NAME_FIELD) | ||||
| @@ -54,7 +52,6 @@ class SecurityGroupRuleTests(base.TestCase): | ||||
|                                    cls.SECURITY_GROUP_NAME) | ||||
|         cls.assertOutput('', raw_output) | ||||
|  | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def test_security_group_rule_list(self): | ||||
|         opts = self.get_opts(self.ID_HEADER) | ||||
|         raw_output = self.openstack('security group rule list ' + | ||||
| @@ -62,7 +59,6 @@ class SecurityGroupRuleTests(base.TestCase): | ||||
|                                     opts) | ||||
|         self.assertIn(self.SECURITY_GROUP_RULE_ID, raw_output) | ||||
|  | ||||
|     @testtools.skip('broken SDK testing') | ||||
|     def test_security_group_rule_show(self): | ||||
|         opts = self.get_opts(self.ID_FIELD) | ||||
|         raw_output = self.openstack('security group rule show ' + | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Dean Troyer
					Dean Troyer