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

fixup! Fixup the tests for the revisions and address

parent c2ac75b2
No related branches found
No related tags found
No related merge requests found
from datetime import datetime, timedelta from datetime import datetime, timedelta
import json import json
from addressfield.widgets import AddressWidget
from opentech.apply.activity.models import Activity from opentech.apply.activity.models import Activity
from opentech.apply.funds.tests.factories import ( from opentech.apply.funds.tests.factories import (
ApplicationSubmissionFactory, ApplicationSubmissionFactory,
...@@ -143,7 +142,6 @@ class TestRevisionsView(BaseSubmissionViewTestCase): ...@@ -143,7 +142,6 @@ class TestRevisionsView(BaseSubmissionViewTestCase):
address = flatten_for_form(address, field, number=True) address = flatten_for_form(address, field, number=True)
return address return address
def test_create_revisions_on_submit(self): def test_create_revisions_on_submit(self):
submission = ApplicationSubmissionFactory(status='draft_proposal', workflow_stages=2, user=self.user) submission = ApplicationSubmissionFactory(status='draft_proposal', workflow_stages=2, user=self.user)
old_data = submission.form_data.copy() old_data = submission.form_data.copy()
......
...@@ -6,7 +6,6 @@ from opentech.apply.users.tests.factories import StaffFactory ...@@ -6,7 +6,6 @@ from opentech.apply.users.tests.factories import StaffFactory
from ...options import YES, NO, MAYBE from ...options import YES, NO, MAYBE
from ...models import Review, ReviewForm from ...models import Review, ReviewForm
from ...views import get_fields_for_stage
from . import blocks from . import blocks
......
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