import pytest

from moody import auth


def test_create_token():
    # Mock user and check token matches expected token
    pass


def get_token_from_request():
    # Monkey patch flask request and test if correct exceptions are raised for invalid tokens
    pass


def decode_token():
    # Test if valid tokens return expected payload
    # Test if invalid tokens raise exception
    pass



