'Test that using token auth removes the value of the auth attribute.
If `GitHubSession.auth` is set then it conflicts with the token value.'

def test_token_auth_disables_basic_auth(self):

    s = self.build_session()
    s.auth = ('foo', 'bar')
    s.token_auth('token    goes    here')
    assert (s.auth is None)
