'Check that routes collections are not on (LP bug 1185828)'

def test_get_images_bad_urls(self):

    req = webob.Request.blank('/images/detail.xxx')
    res = req.get_response(self.api)
    self.assertEqual(http_client.NOT_FOUND, res.status_int)
    req = webob.Request.blank('/images.xxx')
    res = req.get_response(self.api)
    self.assertEqual(http_client.NOT_FOUND, res.status_int)
    req = webob.Request.blank('/images/new')
    res = req.get_response(self.api)
    self.assertEqual(http_client.NOT_FOUND, res.status_int)
    req = webob.Request.blank(('/images/%s/members' % UUID1))
    res = req.get_response(self.api)
    self.assertEqual(http_client.OK, res.status_int)
    req = webob.Request.blank(('/images/%s/members.xxx' % UUID1))
    res = req.get_response(self.api)
    self.assertEqual(http_client.NOT_FOUND, res.status_int)
