This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from pingspot.dal.users import UserService | |
import uuid | |
def test_foursquare_auth_token(dal, uniqueuser): | |
user = uniqueuser() | |
auth_token = str(uuid.uuid4()) | |
# No need to return anything, an error will be raised if something went wrong | |
dal.users.set_foursquare_auth_token(user, auth_token) | |