def test_token_auth_type(self): auth = Trello.get_auth('token') self.assertIs(auth, TrelloTokenAuth)
def test_oauth_auth_type(self): auth = Trello.get_auth('oauth') self.assertIs(auth, TrelloOAuth)