From 8b66c7c9d2610a77383c72c774e9909825f72b59 Mon Sep 17 00:00:00 2001
From: sandeepsajan0 <sandeepsajan0@gmail.com>
Date: Thu, 26 Aug 2021 19:22:35 +0530
Subject: [PATCH] Update defaults to _defaults

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

diff --git a/hypha/apply/funds/tests/test_models.py b/hypha/apply/funds/tests/test_models.py
index 3b18c9b41..28c28e8ac 100644
--- a/hypha/apply/funds/tests/test_models.py
+++ b/hypha/apply/funds/tests/test_models.py
@@ -158,7 +158,7 @@ class TestRoundModelWorkflowAndForms(TestCase):
         self.fund = FundTypeFactory(parent=None)
 
         # Must create lead, adding child complains about "built" user with no id
-        lead = RoundFactory.lead.get_factory()(**RoundFactory.lead.defaults)
+        lead = RoundFactory.lead.get_factory()(**RoundFactory.lead._defaults)
         self.round = RoundFactory.build(lead=lead, parent=None)
 
         # Assign parent_page like the init does
-- 
GitLab