def test_get_token_without_bearer_auth(app):
    with app.test_request_context(headers={'Authorization': 'Basic token-value'}):
        assert get_token_from_headers() is None
def test_get_token_from_empty_headers(app):
    with app.test_request_context(headers={}):
        assert get_token_from_headers() is None
def test_get_token_from_headers(app):
    with app.test_request_context(headers={'Authorization': 'Bearer token-value'}):
        assert get_token_from_headers() == 'token-value'