Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Commit

Permalink
test(tasks/tests.py): fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
HladczukLe committed Dec 6, 2023
1 parent 7c5c10a commit 12dfc1e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions apps/tasks/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,6 +521,7 @@ def test_invalid_form_submission(self) -> None:

if redirected_response.context is not None:
self.assertIn("form", redirected_response.context)
self.assertFalse(redirected_response.context["form"].is_valid())


class BackgroundJobTaskTest(TestCase):
Expand Down

0 comments on commit 12dfc1e

Please sign in to comment.