'Test that basic auth will remove the Authorization header.
Token and basic authentication will conflict so remove the token
authentication.'

def test_basic_login_disables_token_auth(self):

    s = self.build_session()
    s.token_auth('token    goes    here')
    assert ('Authorization' in s.headers)
    s.basic_auth('username', 'password')
    assert ('Authorization' not in s.headers)
