

def test_create(self):
    resource = self.manager.create(**CREATE_TESTABLE_RESOURCE)
    expect = [('POST', '/v1/testableresources', {
        
    }, CREATE_TESTABLE_RESOURCE)]
    self.assertEqual(expect, self.api.calls)
    self.assertTrue(resource)
    self.assertIsInstance(resource, TestableResource)

dataset/ETHPy150Open openstack/python-ironicclient/ironicclient/tests/unit/common/test_base.py ManagerTestCase.test_create/original