From 03bd7ddc5121b1d85af49933ed0a676e5bba8874 Mon Sep 17 00:00:00 2001 From: Todd Dembrey <todd.dembrey@torchbox.com> Date: Fri, 10 Aug 2018 14:04:53 +0100 Subject: [PATCH] fixup! Fixup the tests for the revisions and address --- opentech/apply/funds/tests/test_views.py | 2 -- opentech/apply/review/tests/factories/models.py | 1 - 2 files changed, 3 deletions(-) diff --git a/opentech/apply/funds/tests/test_views.py b/opentech/apply/funds/tests/test_views.py index 19d73c2e0..46184012f 100644 --- a/opentech/apply/funds/tests/test_views.py +++ b/opentech/apply/funds/tests/test_views.py @@ -1,7 +1,6 @@ from datetime import datetime, timedelta import json -from addressfield.widgets import AddressWidget from opentech.apply.activity.models import Activity from opentech.apply.funds.tests.factories import ( ApplicationSubmissionFactory, @@ -143,7 +142,6 @@ class TestRevisionsView(BaseSubmissionViewTestCase): address = flatten_for_form(address, field, number=True) return address - def test_create_revisions_on_submit(self): submission = ApplicationSubmissionFactory(status='draft_proposal', workflow_stages=2, user=self.user) old_data = submission.form_data.copy() diff --git a/opentech/apply/review/tests/factories/models.py b/opentech/apply/review/tests/factories/models.py index 6e7e57229..8110443c9 100644 --- a/opentech/apply/review/tests/factories/models.py +++ b/opentech/apply/review/tests/factories/models.py @@ -6,7 +6,6 @@ from opentech.apply.users.tests.factories import StaffFactory from ...options import YES, NO, MAYBE from ...models import Review, ReviewForm -from ...views import get_fields_for_stage from . import blocks -- GitLab