@pytest.fixture(scope='session')
def token(db):
    user = User.find_by_identity('admin@localhost.com')
    return user.serialize_token()
Serialize a JWS token.
dataset/ETHPy150Open nickjj/build-a-saas-app-with-flask/catwatch/tests/conftest.py/token