Skip to content

Commit

Permalink
Fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
philpep committed Feb 5, 2024
1 parent d6be547 commit d721848
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,9 @@ def test_check_constent_validation_preuve(
headers={"Content-Type": "application/nd-json"},
body=ndjson.dumps(payload),
)
with caplog.at_level(logging.INFO, logger="lowatt.grdf"), pytest.raises(
RuntimeError, match="Theses consents have validation issues"
with (
caplog.at_level(logging.INFO, logger="lowatt.grdf"),
pytest.raises(RuntimeError, match="Theses consents have validation issues"),
):
grdf.check_consent_validation()
assert [r.message for r in caplog.records] == [
Expand Down

0 comments on commit d721848

Please sign in to comment.