Complete name-first 1C adapter saved-state support
This commit is contained in:
@@ -120,7 +120,14 @@ def first_saved_form(endpoint_url: str, base_id: str, timeout: float, *, transpo
|
||||
result = rpc_call(
|
||||
endpoint_url,
|
||||
"metadata.saved_state.forms.search",
|
||||
{"base_id": base_id, "tables": [table], "limit": 1, "scan_limit": 200, "timeout_seconds": int(timeout)},
|
||||
{
|
||||
"base_id": base_id,
|
||||
"tables": [table],
|
||||
"limit": 1,
|
||||
"scan_limit": 200,
|
||||
"timeout_seconds": int(timeout),
|
||||
"include_storage": True,
|
||||
},
|
||||
timeout,
|
||||
transport=transport,
|
||||
session_id=session_id,
|
||||
@@ -171,6 +178,7 @@ def run_smoke(endpoint_url: str, base_id: str, timeout: float, *, transport: str
|
||||
"max_changes": 20,
|
||||
"max_text_diff_lines": 20,
|
||||
"timeout_seconds": int(timeout),
|
||||
"include_storage": True,
|
||||
}
|
||||
diff = rpc_call(endpoint_url, "metadata.saved_state.diff", diff_payload, timeout, transport=transport, session_id=session_id)
|
||||
checks["diff_existing_saved_state"] = {
|
||||
@@ -193,7 +201,13 @@ def run_smoke(endpoint_url: str, base_id: str, timeout: float, *, transport: str
|
||||
diff = rpc_call(
|
||||
endpoint_url,
|
||||
"metadata.saved_state.diff",
|
||||
{"base_id": base_id, "table": saved_state_table, "file_name": missing_file, "timeout_seconds": int(timeout)},
|
||||
{
|
||||
"base_id": base_id,
|
||||
"table": saved_state_table,
|
||||
"file_name": missing_file,
|
||||
"timeout_seconds": int(timeout),
|
||||
"include_storage": True,
|
||||
},
|
||||
timeout,
|
||||
transport=transport,
|
||||
session_id=session_id,
|
||||
|
||||
Reference in New Issue
Block a user