diff --git a/test/integration/test_users.py b/test/integration/test_users.py index d47110bc96c1..c4d3611f0b1a 100644 --- a/test/integration/test_users.py +++ b/test/integration/test_users.py @@ -2,7 +2,7 @@ from galaxy_test.driver import integration_util -USER_SUMMARY_KEYS = set(["model_class", "id", "email", "username", "deleted", "active", "last_password_change"]) +USER_SUMMARY_KEYS = {"model_class", "id", "email", "username", "deleted", "active", "last_password_change"} class UsersIntegrationCase(integration_util.IntegrationTestCase): @@ -57,7 +57,7 @@ class TestExposeUsersIntegration(UsersIntegrationCase): expose_user_email = True # Since we allow to expose user information, all users are returned. - expected_limited_user_keys = set(["id", "username", "email"]) + expected_limited_user_keys = {"id", "username", "email"} expected_regular_user_list_count = 3 @@ -67,7 +67,7 @@ class TestExposeOnlyUserNameIntegration(UsersIntegrationCase): # When only username is exposed, only that field is returned in the user list. # Since we are exposing user information, all users are returned. - expected_limited_user_keys = set(["id", "username"]) + expected_limited_user_keys = {"id", "username"} expected_regular_user_list_count = 3 @@ -77,7 +77,7 @@ class TestExposeOnlyUserEmailIntegration(UsersIntegrationCase): # When only email is exposed, only that field is returned in the user list. # Since we are exposing user information, all users are returned. - expected_limited_user_keys = set(["id", "email"]) + expected_limited_user_keys = {"id", "email"} expected_regular_user_list_count = 3