ignore venv, and ensure always sort group members to fix flaky test in postgres (#1357)

Co-authored-by: burnettk <burnettk@users.noreply.github.com>
This commit is contained in:
Kevin Burnett 2024-04-08 18:26:07 +00:00 committed by GitHub
parent d1126e6531
commit cce555b2ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View File

@ -23,3 +23,4 @@ node_modules
/some_cache_dir
/process.json
/spiffworkflow_backend.svg
/.venv

View File

@ -26,5 +26,5 @@ class GetGroupMembers(Script):
if group is None:
raise GroupNotFoundError(f"Script 'get_group_members' could not find group with identifier '{group_identifier}'.")
usernames = [u.username for u in group.users]
usernames = sorted([u.username for u in group.users])
return usernames