@testcase.attr('positive')
    def test_get_order_defaults(self):

        # create an order
        order = self.barbicanclient.orders.create_key(
            **order_create_key_data)
        order_ref = self.cleanup.add_entity(order)
        self.assertIsNotNone(order_ref)

        # get the order
        order_resp = self.barbicanclient.orders.get(order_ref)

        # verify the order
        self.assertIsNotNone(order_resp.order_ref)
        self.assertEqual('key', order_resp._type)
        self.assertTrue(order_resp.status == "ACTIVE" or
                        order_resp.status == "PENDING")

        if order_resp.status == "ACTIVE":
            self.assertIsNotNone(order_resp.secret_ref)
Confirm unbind successful
dataset/ETHPy150Open openstack/python-barbicanclient/functionaltests/client/v1/smoke/test_orders.py/OrdersTestCase.test_get_order_defaults--crossover with--dataset/ETHPy150Open veegee/amqpy/amqpy/channel.py/Channel._cb_exchange_unbind_ok