def test_has_team_api_access(self, username, expected_have_access): user = self.users[username] self.assertEqual( expected_have_access, teams_api.has_team_api_access(user, COURSE_KEY1) )
def test_has_team_api_access(self, username, expected_have_access): user = self.users[username] assert expected_have_access == teams_api.has_team_api_access(user, COURSE_KEY1)