-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3200 from cisagov/za/bugfix-failing-member-test
BUGFIX: Add order_by on MemberExport to fix flaky test
- Loading branch information
Showing
2 changed files
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -874,18 +874,26 @@ def test_member_export(self): | |
"Email,Organization admin,Invited by,Joined date,Last active,Domain requests," | ||
"Member management,Domain management,Number of domains,Domains\n" | ||
# Content | ||
"[email protected],False,[email protected],2022-04-01,Invalid date,None," | ||
"Viewer,True,1,cdomain1.gov\n" | ||
"[email protected],True,[email protected],2022-04-01,2024-02-01," | ||
"Viewer,Viewer,False,0,\n" | ||
"[email protected],True,[email protected],2022-04-01,2024-02-01," | ||
"Viewer Requester,Manager,False,0,\n" | ||
"[email protected],False,[email protected],2022-04-01,Invalid date,None," | ||
'Manager,True,2,"adomain2.gov,cdomain1.gov"\n' | ||
"[email protected],False,[email protected],2022-04-01,Invalid date,None,Viewer,True,1,cdomain1.gov\n" | ||
"[email protected],False,System,2022-04-01,Invalid date,Viewer,None,False,0,\n" | ||
"[email protected],True,[email protected],2022-04-01,2024-02-01,Viewer Requester,Manager,False,0,\n" | ||
"[email protected],True,[email protected],2022-04-01,2024-02-01,Viewer,Viewer,False,0,\n" | ||
"[email protected],False,[email protected],Unretrieved,Invited,None,Manager,False,0,\n" | ||
"[email protected],False,[email protected],Unretrieved,Invited,None,Viewer,False,0,\n" | ||
"[email protected],False,[email protected],Unretrieved,Invited,Viewer,None,False,0,\n" | ||
"[email protected],True,[email protected],Unretrieved," | ||
"Invited,Viewer Requester,Manager,False,0,\n" | ||
"[email protected],True,[email protected],Unretrieved,Invited,Viewer,Viewer,False,0,\n" | ||
"[email protected],False,[email protected],Unretrieved,Invited," | ||
"None,Manager,False,0,\n" | ||
"[email protected],False,[email protected],Unretrieved,Invited," | ||
"None,Viewer,False,0,\n" | ||
"[email protected],False,[email protected],Unretrieved,Invited," | ||
"Viewer,None,False,0,\n" | ||
"[email protected],True,[email protected],Unretrieved,Invited," | ||
"Viewer Requester,Manager,False,0,\n" | ||
"[email protected],True,[email protected],Unretrieved,Invited," | ||
"Viewer,Viewer,False,0,\n" | ||
"[email protected],False,System,2022-04-01,Invalid date,Viewer," | ||
"None,False,0,\n" | ||
) | ||
# Normalize line endings and remove commas, | ||
# spaces and leading/trailing whitespace | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters