def METHOD_NAME(self, db_session, factories):
    factories.DeveloperToken(expires=None)
    factories.DeveloperToken(expires=None)
    assert db_session.query(Token).count() == 2
    purge_expired_tokens()
    assert db_session.query(Token).count() == 2