test prepush hook
This commit is contained in:
parent
c70202c33c
commit
64dd295e6d
@ -8,7 +8,8 @@
|
|||||||
"build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
|
"build": "parcel build js/index.js -d static/assets --public-url /static/assets -o index.js",
|
||||||
"test": "jest",
|
"test": "jest",
|
||||||
"test:coverage": "jest --coverage",
|
"test:coverage": "jest --coverage",
|
||||||
"test:watch": "jest --watch --no-cache"
|
"test:watch": "jest --watch --no-cache",
|
||||||
|
"prepush": "script/format"
|
||||||
},
|
},
|
||||||
"author": "",
|
"author": "",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
|
@ -83,7 +83,7 @@ def test_show_task_order_formdata():
|
|||||||
workflow = ShowTaskOrderWorkflow(task_order_id=task_order.id)
|
workflow = ShowTaskOrderWorkflow(task_order_id=task_order.id)
|
||||||
|
|
||||||
assert workflow.task_order.to_dictionary()["user_id"] is None
|
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:
|
for field in workflow.task_order_formdata:
|
||||||
assert not field is None
|
assert not field is None
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user