Add test to ensure that pdf is attached to TO
This commit is contained in:
parent
650cc02678
commit
3cf0907d0d
@ -199,6 +199,20 @@ def test_save_draft_and_then_submit():
|
|||||||
).execute()
|
).execute()
|
||||||
|
|
||||||
|
|
||||||
|
def test_updated_request_has_pdf(fv_data, extended_financial_verification_data):
|
||||||
|
request = RequestFactory.create()
|
||||||
|
user = UserFactory.create()
|
||||||
|
data = {
|
||||||
|
**fv_data,
|
||||||
|
**extended_financial_verification_data,
|
||||||
|
"task_order_number": "DCA10096D0051",
|
||||||
|
}
|
||||||
|
updated_request = UpdateFinancialVerification(
|
||||||
|
TrueValidator, TrueValidator, user, request, data, is_extended=True
|
||||||
|
).execute()
|
||||||
|
assert updated_request.task_order.pdf
|
||||||
|
|
||||||
|
|
||||||
def test_update_fv_route(client, user_session, fv_data):
|
def test_update_fv_route(client, user_session, fv_data):
|
||||||
user = UserFactory.create()
|
user = UserFactory.create()
|
||||||
request = RequestFactory.create(creator=user)
|
request = RequestFactory.create(creator=user)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user