Fix migration and tests after rebase
This commit is contained in:
parent
3b5b809947
commit
9f47f54751
@ -1,7 +1,7 @@
|
|||||||
"""Update LOA to Array Type
|
"""Update LOA to Array Type
|
||||||
|
|
||||||
Revision ID: db161adbafdf
|
Revision ID: db161adbafdf
|
||||||
Revises: fb22e47972a3
|
Revises: ec1ba2363191
|
||||||
Create Date: 2019-02-15 14:28:33.181136
|
Create Date: 2019-02-15 14:28:33.181136
|
||||||
|
|
||||||
"""
|
"""
|
||||||
@ -11,7 +11,7 @@ import sqlalchemy as sa
|
|||||||
|
|
||||||
# revision identifiers, used by Alembic.
|
# revision identifiers, used by Alembic.
|
||||||
revision = 'db161adbafdf'
|
revision = 'db161adbafdf'
|
||||||
down_revision = 'fb22e47972a3'
|
down_revision = 'ec1ba2363191'
|
||||||
branch_labels = None
|
branch_labels = None
|
||||||
depends_on = None
|
depends_on = None
|
||||||
|
|
||||||
|
@ -363,6 +363,8 @@ def test_submit_completed_ko_review_page_as_cor(client, user_session, pdf_upload
|
|||||||
"pdf": pdf_upload,
|
"pdf": pdf_upload,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
user_session(cor)
|
||||||
|
|
||||||
response = client.post(
|
response = client.post(
|
||||||
url_for(
|
url_for(
|
||||||
"portfolios.ko_review",
|
"portfolios.ko_review",
|
||||||
@ -374,7 +376,10 @@ def test_submit_completed_ko_review_page_as_cor(client, user_session, pdf_upload
|
|||||||
|
|
||||||
assert task_order.pdf
|
assert task_order.pdf
|
||||||
assert response.headers["Location"] == url_for(
|
assert response.headers["Location"] == url_for(
|
||||||
"task_orders.signature_requested", task_order_id=task_order.id, _external=True
|
"portfolios.view_task_order",
|
||||||
|
task_order_id=task_order.id,
|
||||||
|
portfolio_id=portfolio.id,
|
||||||
|
_external=True,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
@ -392,6 +397,7 @@ def test_submit_completed_ko_review_page_as_ko(client, user_session, pdf_upload)
|
|||||||
|
|
||||||
task_order = TaskOrderFactory.create(portfolio=portfolio, contracting_officer=ko)
|
task_order = TaskOrderFactory.create(portfolio=portfolio, contracting_officer=ko)
|
||||||
user_session(ko)
|
user_session(ko)
|
||||||
|
loa_list = ["123123123", "456456456", "789789789"]
|
||||||
|
|
||||||
form_data = {
|
form_data = {
|
||||||
"start_date": "02/10/2019",
|
"start_date": "02/10/2019",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user