Skip order with 'None' payload content type
Re-adding the skip decorator because the content type still cannot be null. I98a558862eed039ed6f33fbee474bdb86767313e was supposed to fix it, but something is still broken, and a few extra checks in the test show this is true. Change-Id: Icb5c0e28bf0199962d2082143099905d4fb63685
This commit is contained in:
parent
0eb09156ad
commit
4de9aaccc6
|
@ -79,6 +79,7 @@ class OrdersTestCase(base.TestCase):
|
|||
order_resp = self.barbicanclient.orders.get(order_ref)
|
||||
self.assertEqual(order.name, order_resp.name)
|
||||
|
||||
@testcase.skip('Launchpad 1425667')
|
||||
@testcase.attr('positive')
|
||||
def test_create_order_defaults_payload_content_type_none(self):
|
||||
"""Covers creating orders with various valid payload content types."""
|
||||
|
@ -88,6 +89,10 @@ class OrdersTestCase(base.TestCase):
|
|||
order_ref = self.cleanup.add_entity(order)
|
||||
self.assertIsNotNone(order_ref)
|
||||
|
||||
order_resp = self.barbicanclient.orders.get(order_ref)
|
||||
self.assertTrue(order_resp.status == "ACTIVE" or
|
||||
order_resp.status == "PENDING")
|
||||
|
||||
@testcase.attr('positive')
|
||||
def test_create_order_defaults_check_empty_name(self):
|
||||
"""Create order with empty meta name.
|
||||
|
|
Loading…
Reference in New Issue