

def test_get_account(self):
    req = webob.Request.blank('/v1.0/accounts/test1')
    res = req.get_response(fakes.wsgi_app())
    res_dict = json.loads(res.body)
    self.assertEqual(res_dict['account']['id'], 'test1')
    self.assertEqual(res_dict['account']['name'], 'test1')
    self.assertEqual(res_dict['account']['manager'], 'id1')
    self.assertEqual(res.status_int, 200)

dataset/ETHPy150Open nii-cloud/dodai-compute/nova/tests/api/openstack/test_accounts.py AccountsTest.test_get_account/original