'Test getting empty limit details in JSON.'

def test_empty_index_json(self):

    request = self._get_index_request()
    response = request.get_response(self.controller)
    expected = {'limits': {'rate': [], 'absolute': {}}}
    body = jsonutils.loads(response.body)
    self.assertEqual(expected, body)
