From e90da9f2c083280f6017dfb5a9cd2b2c460fd784 Mon Sep 17 00:00:00 2001 From: Brad Ison Date: Wed, 28 Mar 2018 14:31:02 -0400 Subject: [PATCH] Fix API team membership test --- test/test_api_usage.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_api_usage.py b/test/test_api_usage.py index f6de636a8..74afe4c93 100644 --- a/test/test_api_usage.py +++ b/test/test_api_usage.py @@ -1424,7 +1424,7 @@ class TestGetOrganizationTeamMembers(ApiTestCase): json = self.getJsonResponse(TeamMemberList, params=dict(orgname=ORGANIZATION, teamname='readers')) - self.assertEquals(READ_ACCESS_USER, json['members'][1]['name']) + self.assertInTeam(json, READ_ACCESS_USER) class TestUpdateOrganizationTeamMember(ApiTestCase):