def test_is_jwt_config_not_set_missing_private_key(self):
     self.assertFalse(TokenView._is_jwt_config_set())
 def test_is_jwt_config_not_set_missing_issuer(self):
     self.assertFalse(TokenView._is_jwt_config_set())
 def test_is_jwt_config_not_set_none_issuer(self):
     del settings.JWT_ISSUER
     self.assertFalse(TokenView._is_jwt_config_set())
 def test_is_jwt_config_set(self):
     self.assertTrue(TokenView._is_jwt_config_set())