'Test GET on image members raises 404 and produces correct Allow headers'

def test_get_on_image_member(self):

    self.api = test_utils.FakeAuthMiddleware(rserver.API(self.mapper), is_admin=False)
    uri = ('/images/%s/members/123' % UUID1)
    req = webob.Request.blank(uri)
    req.method = 'GET'
    res = req.get_response(self.api)
    self.assertEqual(http.METHOD_NOT_ALLOWED, res.status_int)
    self.assertIn(('Allow', 'PUT,    DELETE'), res.headerlist)
