# Path: canvas_sdk/client/auth.py
# class OAuth2Bearer(AuthBase):
#     def __init__(self, oauth2_token):
#     def __call__(self, r):


import unittest
from unittest import mock
from canvas_sdk.client import auth

AUTH_TOKEN = 'testAuthToken'  # Bogus auth token used to get call


class TestAuth(unittest.TestCase):
    longMessage = True


# Path: canvas_sdk/client/auth.py
# class OAuth2Bearer(AuthBase):
#     def __init__(self, oauth2_token):
#     def __call__(self, r):


# Path: tests/client/test_auth.py
import unittest
from unittest import mock
from canvas_sdk.client import auth


AUTH_TOKEN = 'testAuthToken'  # Bogus auth token used to get call


class TestAuth(unittest.TestCase):
    longMessage = True


    def test_initialize_oauth2_bearer_no_token_raises_exception(self):