Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnMwashuma committed Nov 13, 2024
1 parent 8f6f26f commit 17555eb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tally_ho/apps/tally/tests/views/test_audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ def test_review_post_supervisor_implement_de1(self):

audit = Audit.objects.get(result_form=result_form)
self.assertEqual(audit.supervisor, self.user)
self.assertTrue(audit.reviewed_supervisor)
self.assertFalse(audit.reviewed_supervisor)
self.assertTrue(audit.reviewed_team)
self.assertTrue(audit.active)
self.assertEqual(audit.result_form.form_state,
Expand All @@ -544,10 +544,10 @@ def test_review_post_supervisor_implement_de1(self):
self.assertEqual(result_form_stat.result_form, result_form)

for result in audit.result_form.results.all():
self.assertFalse(result.active)
self.assertTrue(result.active)

for result in audit.result_form.reconciliationform_set.all():
self.assertFalse(result.active)
self.assertTrue(result.active)

self.assertEqual(audit.action_prior_to_recommendation,
ActionsPrior.REQUEST_AUDIT_ACTION_FROM_FIELD)
Expand Down

0 comments on commit 17555eb

Please sign in to comment.