pyl w/ burnettk

This commit is contained in:
jasquat 2023-01-05 17:33:18 -05:00
parent b9765c3d0e
commit 96e2271537
1 changed files with 6 additions and 6 deletions

View File

@ -40,9 +40,9 @@ class TestProcessInstancesController(BaseTest):
)
assert response.status_code == 200
assert response.json
assert 'process_instance' in response.json
assert response.json['process_instance']["id"] == process_instance.id
assert response.json['uri_type'] == 'for-me'
assert "process_instance" in response.json
assert response.json["process_instance"]["id"] == process_instance.id
assert response.json["uri_type"] == "for-me"
response = client.get(
f"/v1.0/process-instances/find-by-id/{process_instance.id}",
@ -56,6 +56,6 @@ class TestProcessInstancesController(BaseTest):
)
assert response.status_code == 200
assert response.json
assert 'process_instance' in response.json
assert response.json['process_instance']["id"] == process_instance.id
assert response.json['uri_type'] is None
assert "process_instance" in response.json
assert response.json["process_instance"]["id"] == process_instance.id
assert response.json["uri_type"] is None