fields for the new task order

This commit is contained in:
dandds
2018-12-14 13:19:22 -05:00
parent 6d92755a7f
commit c5580733ba
7 changed files with 308 additions and 51 deletions

View File

@@ -26,16 +26,9 @@ def test_create_new_workspace(client, user_session):
response = client.post(
url_for("task_orders.update", task_order_id=task_order.id),
data={
"clin_0001": 12345,
"clin_0003": 12345,
"clin_1001": 12345,
"clin_1003": 12345,
"clin_2001": 12345,
"clin_2003": 12345,
},
data={**TaskOrderFactory.dictionary(), "clin_01": 12345, "clin_03": 12345},
follow_redirects=False,
)
assert response.status_code == 200
assert task_order.clin_0001 == 12345
assert task_order.clin_01 == 12345