Skip to content

Commit

Permalink
Un-revert the black changes I accidentally reverted
Browse files Browse the repository at this point in the history
  • Loading branch information
iamleeg committed Jul 11, 2022
1 parent 92969a9 commit 8bf28bb
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class Filter:

class Anything(Filter):
"""Represents a lack of constraints."""

def __str__(self) -> str:
return "Anything()"

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def excluded_cases(self, source_id: str, filter: Filter) -> List[Case]:
"caseReference.sourceId": ObjectId(source_id),
"caseReference.status": "EXCLUDED",
},
query
query,
]
}
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -402,12 +402,12 @@ def test_filter_excluded_case_ids(client_with_patched_mongo):
"confirmationDate": datetime(2022, 5, i),
"caseReference": {
"sourceId": bson.ObjectId("fedc12345678901234567890"),
"status": "EXCLUDED"
"status": "EXCLUDED",
},
"caseExclusion": {
"date": datetime(2022, 6, i),
"note": f"Excluded upon this day, the {i}th of June"
}
"note": f"Excluded upon this day, the {i}th of June",
},
}
for i in range(1, 4)
]
Expand Down

0 comments on commit 8bf28bb

Please sign in to comment.