'The view should return an empty list if no keys are configured.'

@override_settings(JWT_PRIVATE_SIGNING_KEY=None, JWT_EXPIRED_PRIVATE_SIGNING_KEYS=[])
def test_get_without_keys(self):

    response = self.client.get(reverse('jwks'))
    self.assertEqual(response.status_code, 200)
    actual = json.loads(response.content)
    self.assertEqual(actual, {'keys': []})
