Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ruff errors #18345

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions test/integration/test_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down Expand Up @@ -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


Expand All @@ -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


Expand All @@ -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


Expand Down
Loading