Skip to content

Commit 308a340

Browse files
committed
API-6560: Fixed test mock response
1 parent e25d453 commit 308a340

1 file changed

Lines changed: 13 additions & 13 deletions

File tree

tests/test_client.py

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -77,20 +77,20 @@ def score_response_json():
7777

7878

7979
def workflow_statuses_json():
80-
return """ {
81-
"route" : {
82-
"name" : "my route"
80+
return """{
81+
"route" : {
82+
"name" : "my route"
83+
},
84+
"history": [
85+
{
86+
"app": "decision",
87+
"name": "Order Looks OK",
88+
"state": "running",
89+
"config": {
90+
"decision_id": "order_looks_ok_payment_abuse"
91+
}
8392
}
84-
"history": [
85-
{
86-
"app": "decision",
87-
"name": "Order Looks OK",
88-
"state": "running",
89-
"config": {
90-
"decision_id": "order_looks_ok_payment_abuse"
91-
}
92-
}
93-
]
93+
]
9494
}"""
9595

9696
# A sample response from the /{version}/users/{userId}/score API.

0 commit comments

Comments
 (0)