File tree Expand file tree Collapse file tree 1 file changed +2
-13
lines changed
Expand file tree Collapse file tree 1 file changed +2
-13
lines changed Original file line number Diff line number Diff line change @@ -321,17 +321,6 @@ def test_hardfork(
321321 )
322322
323323
324- def _get_build_str (build_method : str ) -> str :
325- if build_method == clusterlib_utils .BuildMethods .BUILD :
326- return "build"
327- if build_method == clusterlib_utils .BuildMethods .BUILD_RAW :
328- return "build_raw"
329- if build_method == clusterlib_utils .BuildMethods .BUILD_EST :
330- return "build_estimate"
331- msg = f"Unsupported build method: { build_method } "
332- raise ValueError (msg )
333-
334-
335324class TestUpgrade :
336325 """Tests for node upgrade testing."""
337326
@@ -375,7 +364,7 @@ def test_prepare_tx(
375364 be submitted in next node version and/or next era.
376365 """
377366 temp_template = common .get_test_id (cluster )
378- build_str = _get_build_str ( build_method )
367+ build_str = build_method
379368
380369 src_address = payment_addrs_disposable [0 ].address
381370 dst_address = payment_addrs_disposable [1 ].address
@@ -492,7 +481,7 @@ def test_submit_tx(
492481 ):
493482 """Submit transaction that was created by previous node version and/or in previous era."""
494483 temp_template = common .get_test_id (cluster )
495- build_str = _get_build_str ( build_method )
484+ build_str = build_method
496485
497486 tx_dir = (
498487 temptools .get_basetemp ()
You can’t perform that action at this time.
0 commit comments