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:
parent
d1126e6531
commit
cce555b2ca
|
@ -23,3 +23,4 @@ node_modules
|
||||||
/some_cache_dir
|
/some_cache_dir
|
||||||
/process.json
|
/process.json
|
||||||
/spiffworkflow_backend.svg
|
/spiffworkflow_backend.svg
|
||||||
|
/.venv
|
||||||
|
|
|
@ -26,5 +26,5 @@ class GetGroupMembers(Script):
|
||||||
if group is None:
|
if group is None:
|
||||||
raise GroupNotFoundError(f"Script 'get_group_members' could not find group with identifier '{group_identifier}'.")
|
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
|
return usernames
|
||||||
|
|
Loading…
Reference in New Issue