Skip to content

Commit

Permalink
Added test to confirm no errors after getting them
Browse files Browse the repository at this point in the history
  • Loading branch information
circulon committed Aug 30, 2024
1 parent 978eb1d commit d0e26ac
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/core/response/test_response_helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ def test_with_input(self):
)

def test_with_errors(self):
self.get("/test-with-errors").assertSessionHasErrors().assertSessionHasErrors(
["email"]
(
self.get("/test-with-errors")
.assertSessionHasErrors()
.assertSessionHasErrors(["email"])
.assertSessionHasNoErrors()
)

0 comments on commit d0e26ac

Please sign in to comment.