'Test that versioning is handled properly through all channels'

def test_version_configurations(self):

    self.start_servers(**self.__dict__.copy())
    url = ('http://127.0.0.1:%d/v%%s/' % self.api_port)
    versions = {'versions': [{'id': 'v2.6', 'status': 'EXPERIMENTAL', 'links': [{'rel': 'self', 'href': (url % '2')}]}, {'id': 'v2.5', 'status': 'CURRENT', 'links': [{'rel': 'self', 'href': (url % '2')}]}, {'id': 'v2.4', 'status': 'SUPPORTED', 'links': [{'rel': 'self', 'href': (url % '2')}]}, {'id': 'v2.3', 'status': 'SUPPORTED', 'links': [{'rel': 'self', 'href': (url % '2')}]}, {'id': 'v2.2', 'status': 'SUPPORTED', 'links': [{'rel': 'self', 'href': (url % '2')}]}, {'id': 'v2.1', 'status': 'SUPPORTED', 'links': [{'rel': 'self', 'href': (url % '2')}]}, {'id': 'v2.0', 'status': 'SUPPORTED', 'links': [{'rel': 'self', 'href': (url % '2')}]}, {'id': 'v1.1', 'status': 'DEPRECATED', 'links': [{'rel': 'self', 'href': (url % '1')}]}, {'id': 'v1.0', 'status': 'DEPRECATED', 'links': [{'rel': 'self', 'href': (url % '1')}]}]}
    path = ('http://%s:%d' % ('127.0.0.1', self.api_port))
    http = httplib2.Http()
    (response, content_json) = http.request(path, 'GET')
    self.assertEqual(http_client.MULTIPLE_CHOICES, response.status)
    content = jsonutils.loads(content_json.decode())
    self.assertEqual(versions, content)
