Skip to content
Snippets Groups Projects
Commit 05950eb8 authored by Todd Dembrey's avatar Todd Dembrey
Browse files

Add test to mutate forms

parent 97afda98
No related branches found
No related tags found
No related merge requests found
......@@ -156,6 +156,12 @@ class TestRoundModelWorkflowAndForms(TestCase):
for round_form, fund_form in itertools.zip_longest(self.round.forms.all(), self.fund.forms.all()):
self.assertEqual(round_form, fund_form)
def test_can_change_round_form_not_fund(self):
self.round.save()
# We are no longer creating a round
del self.round.parent_page
form = self.round.forms.first()
class TestFormSubmission(TestCase):
def setUp(self):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment