Skip to content

Commit

Permalink
Remove equality test when using two Rich Text fields
Browse files Browse the repository at this point in the history
This was failing because the rich text fields are not equal under the
strict equality of the StreamValue class, as they are each two different
equivalently instantiated objects.
  • Loading branch information
Frank Duncan committed Mar 20, 2023
1 parent 4a665c5 commit c2f038e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hypha/apply/funds/tests/test_views.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ def test_new_form_after_progress(self):
self.assertNotEqual(stage, new_stage)

get_forms = submission.get_from_parent('get_defined_fields')
self.assertEqual(submission.form_fields, get_forms(new_stage))
self.assertNotEqual(submission.form_fields, get_forms(stage))

def test_cant_progress_stage_if_not_lead(self):
Expand Down

0 comments on commit c2f038e

Please sign in to comment.