test prepush hook

This commit is contained in:
Montana 2019-01-07 09:48:13 -05:00
parent c70202c33c
commit 64dd295e6d
2 changed files with 3 additions and 2 deletions

View File

@ -8,7 +8,8 @@
"build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch --no-cache"
"test:watch": "jest --watch --no-cache",
"prepush": "script/format"
},
"author": "",
"license": "MIT",

View File

@ -83,7 +83,7 @@ def test_show_task_order_formdata():
workflow = ShowTaskOrderWorkflow(task_order_id=task_order.id)
assert workflow.task_order.to_dictionary()["user_id"] is None
assert workflow.task_order_formdata["user_id"] is ""
assert workflow.task_order_formdata["user_id"] is ''
for field in workflow.task_order_formdata:
assert not field is None