Return incomplete not None for review section status

This commit is contained in:
George Drummond 2019-02-01 09:50:45 -05:00
parent ab519aa4df
commit 92d93c5553
No known key found for this signature in database
GPG Key ID: 296DD6077123BF17
2 changed files with 3 additions and 3 deletions

View File

@ -109,7 +109,7 @@ class TaskOrders(object):
return "complete" return "complete"
elif passed and failed: elif passed and failed:
return "draft" return "draft"
else:
return "incomplete" return "incomplete"
@classmethod @classmethod

View File

@ -172,7 +172,7 @@ def test_show_task_order_display_screen(task_order):
for i in range(2): for i in range(2):
assert screens[i]["completion"] == "complete" assert screens[i]["completion"] == "complete"
# the review section is not # the review section is not
assert not screens[3]["completion"] assert screens[3]["completion"] == "incomplete"
def test_update_task_order_with_no_task_order(): def test_update_task_order_with_no_task_order():