

def test_get(self):
    resource = self.manager.get(TESTABLE_RESOURCE['uuid'])
    expect = [('GET', ('/v1/testableresources/%s' % TESTABLE_RESOURCE['uuid']), {
        
    }, None)]
    self.assertEqual(expect, self.api.calls)
    self.assertEqual(TESTABLE_RESOURCE['uuid'], resource.uuid)
    self.assertEqual(TESTABLE_RESOURCE['attribute1'], resource.attribute1)

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