fix test, minor python tweaks

This commit is contained in:
Montana
2019-01-14 11:46:27 -05:00
parent 804ddc4db5
commit 676c68a243
2 changed files with 6 additions and 5 deletions

View File

@@ -165,13 +165,14 @@ def test_update_task_order_with_existing_task_order(task_order):
def test_other_text_not_saved_if_other_not_checked(task_order):
to_data = {
**TaskOrderFactory.dictionary(),
"complexity": ["conus", "other"],
"complexity": ["conus"],
"complexity_other": "quite complex",
}
workflow = UpdateTaskOrderWorkflow(
task_order.creator, to_data, task_order_id=task_order.id
)
workflow.update()
assert not workflow.task_order.complexity_other
def test_invite_officers_to_task_order(task_order, queue):