def test_get_user_info_gets_user_info(self): bitbucket.BitbucketAccount("1", {'username': '******'}).opt_in('alice') expected = {"username": "******"} actual = bitbucket.get_user_info('alice') assert actual == expected
def test_get_user_info_gets_user_info_from_UnicodeWithParams(self): bitbucket.BitbucketAccount("1", {'username': '******'}).opt_in('alice') expected = {"username": "******"} actual = bitbucket.get_user_info(UnicodeWithParams('alice', {})) assert actual == expected