From 39c5f3e00e7486c9c5f13328f8bd4e2564c68a8a Mon Sep 17 00:00:00 2001 From: Montana Date: Mon, 8 Oct 2018 08:53:12 -0400 Subject: [PATCH] Add two more tests --- tests/routes/test_financial_verification.py | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/tests/routes/test_financial_verification.py b/tests/routes/test_financial_verification.py index e7d2938f..0c20d7d4 100644 --- a/tests/routes/test_financial_verification.py +++ b/tests/routes/test_financial_verification.py @@ -206,3 +206,23 @@ class TestFinancialVerification: assert finver_two.is_extended finver_three = self._service_object(extended=True) assert finver_three.is_extended + + def test_is_pending_changes(self): + finver_one = self._service_object() + assert not finver_one.is_pending_changes + finver_two = self._service_object( + request=RequestFactory.create_with_status( + RequestStatus.CHANGES_REQUESTED_TO_FINVER + ) + ) + assert finver_two.is_pending_changes + + def test_pending(self): + finver_one = self._service_object() + assert not finver_one.pending + finver_two = self._service_object( + request=RequestFactory.create_with_status( + RequestStatus.PENDING_CCPO_APPROVAL + ) + ) + assert finver_two.pending