82
80
req = webob.Request.blank('/v2/fake/accounts/newacct')
83
81
req.headers["Content-Type"] = "application/json"
87
85
res = req.get_response(fakes.wsgi_app())
90
88
self.assertEqual(res.status_int, 200)
91
89
self.assertEqual(res_dict['account']['id'], 'newacct')