Small renames to make team syncing code more clear

This commit is contained in:
Joseph Schorr 2017-03-20 16:49:20 -04:00
parent 7f0aa19292
commit 103186f5e8
3 changed files with 7 additions and 7 deletions

View file

@ -183,7 +183,7 @@ def test_syncing(starting_membership, group_membership, expected_membership, app
assert len(users_expected) + len(robots_expected) == len(expected_membership)
# Check that the team's users match those expected.
service_user_map = model.team.list_federated_team_members(sync_team_info.team, _FAKE_AUTH)
service_user_map = model.team.get_federated_team_member_mapping(sync_team_info.team, _FAKE_AUTH)
assert set(service_user_map.keys()) == users_expected
quay_users = model.team.list_team_users(sync_team_info.team)