We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b2e12ac + 395a0d7 commit b56e5e3Copy full SHA for b56e5e3
cardano_node_tests/tests/test_cli.py
@@ -1515,7 +1515,10 @@ def test_slot_number_invalid_format(
1515
cluster.g_query.query_cli(["slot-number", timestamp_str])
1516
exc_value = str(excinfo.value)
1517
with common.allow_unstable_error_messages():
1518
- assert "parseTimeOrError" in exc_value, exc_value
+ assert (
1519
+ "Malformed timestamp" in exc_value # In cardano-cli >= 10.14.0.0
1520
+ or "parseTimeOrError" in exc_value
1521
+ ), exc_value
1522
1523
@allure.link(helpers.get_vcs_link())
1524
@pytest.mark.parametrize("time_val", ("above", "bellow"))
0 commit comments