Skip to content

Commit 6fd70be

Browse files
authored
Merge pull request #1718 from input-output-hk/fix_no_script_data
Fix tests after changed error message
2 parents 07f7961 + a9871ae commit 6fd70be

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

cardano_node_tests/tests/tests_plutus/test_spend_negative_build.py

+6
Original file line numberDiff line numberDiff line change
@@ -1091,7 +1091,10 @@ def test_json_schema_typed_invalid_type(
10911091

10921092
err_str = str(excinfo.value)
10931093
assert (
1094+
# On node version < 1.36.0
10941095
'Expected a single field named "int", "bytes", "string", "list" or "map".' in err_str
1096+
# See node commit ac662d8e46554c1ed02d485bfdd69e7ec04d8613
1097+
or 'Expected a single field named "int", "bytes", "list" or "map".' in err_str
10951098
), err_str
10961099

10971100
@allure.link(helpers.get_vcs_link())
@@ -1145,5 +1148,8 @@ def test_json_schema_untyped_invalid_type(
11451148

11461149
err_str = str(excinfo.value)
11471150
assert (
1151+
# On node version < 1.36.0
11481152
'Expected a single field named "int", "bytes", "string", "list" or "map".' in err_str
1153+
# See node commit ac662d8e46554c1ed02d485bfdd69e7ec04d8613
1154+
or 'Expected a single field named "int", "bytes", "list" or "map".' in err_str
11491155
), err_str

cardano_node_tests/tests/tests_plutus/test_spend_negative_raw.py

+6
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,10 @@ def test_json_schema_typed_invalid_type(
13241324
)
13251325

13261326
assert (
1327+
# On node version < 1.36.0
13271328
'Expected a single field named "int", "bytes", "string", "list" or "map".' in err
1329+
# See node commit ac662d8e46554c1ed02d485bfdd69e7ec04d8613
1330+
or 'Expected a single field named "int", "bytes", "list" or "map".' in err
13281331
), err
13291332

13301333
@allure.link(helpers.get_vcs_link())
@@ -1366,5 +1369,8 @@ def test_json_schema_untyped_invalid_type(
13661369
)
13671370

13681371
assert (
1372+
# On node version < 1.36.0
13691373
'Expected a single field named "int", "bytes", "string", "list" or "map".' in err
1374+
# See node commit ac662d8e46554c1ed02d485bfdd69e7ec04d8613
1375+
or 'Expected a single field named "int", "bytes", "list" or "map".' in err
13701376
), err

0 commit comments

Comments
 (0)