def test_deserialize_token(self, token):
        user = User.deserialize_token(token)
        assert user.email == 'admin@localhost.com'
Token de-serializer de-serializes a JWS correctly.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/user/test_models.py/TestUser.test_deserialize_token