summaryrefslogtreecommitdiffstats
path: root/yql/essentials/tools/sql_functions_dump/test
diff options
context:
space:
mode:
authorrobot-piglet <[email protected]>2025-10-06 19:59:57 +0300
committerrobot-piglet <[email protected]>2025-10-06 20:11:39 +0300
commitf20e9ebc5b0e69419f9a6ca6662a7cab8a1cb764 (patch)
tree222047c5a9391806e627451d78425d28166dd89c /yql/essentials/tools/sql_functions_dump/test
parent8c130e63da8f0bc40cb29bb33c74fcb0568304a9 (diff)
Intermediate changes
commit_hash:ab4976b763ebd56a8961ed2ba5e9f289926a0086
Diffstat (limited to 'yql/essentials/tools/sql_functions_dump/test')
-rw-r--r--yql/essentials/tools/sql_functions_dump/test/test.py12
1 files changed, 4 insertions, 8 deletions
diff --git a/yql/essentials/tools/sql_functions_dump/test/test.py b/yql/essentials/tools/sql_functions_dump/test/test.py
index ca4d1ad5b87..0e8a6ef6ab5 100644
--- a/yql/essentials/tools/sql_functions_dump/test/test.py
+++ b/yql/essentials/tools/sql_functions_dump/test/test.py
@@ -9,12 +9,8 @@ TOOL_PATH = yatest.common.binary_path('yql/essentials/tools/sql_functions_dump/s
def test_functions_dump():
with open(os.path.join(DATA_PATH, "sql_functions.json")) as f:
func_from_file = json.load(f)
- res = yatest.common.execute(
- [TOOL_PATH],
- check_exit_code=True,
- wait=True
- )
+ res = yatest.common.execute([TOOL_PATH], check_exit_code=True, wait=True)
func_from_tool = json.loads(res.stdout)
- assert func_from_tool == func_from_file, 'JSON_DIFFER\n' \
- 'File:\n %(func_from_file)s\n\n' \
- 'Tool:\n %(func_from_tool)s\n' % locals()
+ assert func_from_tool == func_from_file, (
+ 'JSON_DIFFER\n' 'File:\n %(func_from_file)s\n\n' 'Tool:\n %(func_from_tool)s\n' % locals()
+ )