From 6c54cb0a6b7c997b8cce68d05e8b945ba83cf7be Mon Sep 17 00:00:00 2001
From: sks444 <krishnasingh.ss30@gmail.com>
Date: Fri, 20 Nov 2020 15:57:36 +0530
Subject: [PATCH] Fix tests

---
 hypha/apply/funds/tests/test_models.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/hypha/apply/funds/tests/test_models.py b/hypha/apply/funds/tests/test_models.py
index fd04152a8..3b18c9b41 100644
--- a/hypha/apply/funds/tests/test_models.py
+++ b/hypha/apply/funds/tests/test_models.py
@@ -172,7 +172,8 @@ class TestRoundModelWorkflowAndForms(TestCase):
     def test_forms_are_copied_to_new_rounds(self):
         self.round.save()
         for round_form, fund_form in itertools.zip_longest(self.round.forms.all(), self.fund.forms.all()):
-            self.assertEqual(round_form, fund_form)
+            self.assertEqual(round_form.fields, fund_form.fields)
+            self.assertEqual(round_form.sort_order, fund_form.sort_order)
 
     def test_can_change_round_form_not_fund(self):
         self.round.save()
-- 
GitLab