'Verify no images in the image cache'

def verify_no_cached_images(self):

    path = ('http://%s:%d/v1/cached_images' % ('127.0.0.1', self.api_port))
    http = httplib2.Http()
    (response, content) = http.request(path, 'GET')
    self.assertEqual(http_client.OK, response.status)
    data = jsonutils.loads(content)
    self.assertIn('cached_images', data)
    self.assertEqual([], data['cached_images'])
