fix test, minor python tweaks
This commit is contained in:
@@ -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):
|
||||
|
Reference in New Issue
Block a user