Commit 34a2276b authored by Yannick's avatar Yannick
Browse files

fix path

parent 2b5cc8b2
Pipeline #114955 failed with stages
in 85 minutes and 49 seconds
......@@ -271,15 +271,15 @@ def diff_record_against_ref(kind: str, res_dict: dict):
return diff_records(ref, res_dict)
def make_base_request_proto(method: str, url: str, name=None, payload=None, content_type='application/json'):
def make_base_request_proto(method: str, path: str, name=None, payload=None, content_type='application/json'):
import json
if payload is not None and not isinstance(payload, str) and content_type == 'application/json':
payload = json.dumps(payload)
return Request(
name=name or f"{method} - {url}",
name=name or f"{method} - {path}",
url='{{base_url}}' + path,
'accept': 'application/json',
'data-partition-id': '{{data_partition}}',
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment