Skip to content

Commit de663cf

Browse files
committed
feat: don't lock funds on testnets
Skip tests that keep funds locked on testnets.
1 parent a9a979d commit de663cf

17 files changed

+1
-79
lines changed

cardano_node_tests/tests/tests_plutus/test_spend_build.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -628,7 +628,6 @@ def test_two_scripts_spending(
628628
@allure.link(helpers.get_vcs_link())
629629
@common.PARAM_PLUTUS3_VERSION
630630
@pytest.mark.smoke
631-
@pytest.mark.testnets
632631
def test_always_fails(
633632
self,
634633
cluster: clusterlib.ClusterLib,
@@ -689,7 +688,6 @@ def test_always_fails(
689688
@allure.link(helpers.get_vcs_link())
690689
@common.PARAM_PLUTUS3_VERSION
691690
@pytest.mark.smoke
692-
@pytest.mark.testnets
693691
def test_script_invalid(
694692
self,
695693
cluster: clusterlib.ClusterLib,
@@ -846,7 +844,6 @@ def test_txout_token_locking(
846844
@allure.link(helpers.get_vcs_link())
847845
@common.PARAM_PLUTUS3_VERSION
848846
@pytest.mark.smoke
849-
@pytest.mark.testnets
850847
@pytest.mark.dbsync
851848
def test_partial_spending(
852849
self,

cardano_node_tests/tests/tests_plutus/test_spend_compat_build.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class TestCompatibility:
4747
reason="doesn't run with Tx era > Alonzo",
4848
)
4949
@pytest.mark.smoke
50-
@pytest.mark.testnets
5150
@pytest.mark.dbsync
5251
def test_plutusv2_old_tx_era(
5352
self,

cardano_node_tests/tests/tests_plutus/test_spend_compat_raw.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ class TestCompatibility:
4646
reason="doesn't run with Tx era > Alonzo",
4747
)
4848
@pytest.mark.smoke
49-
@pytest.mark.testnets
5049
@pytest.mark.dbsync
5150
def test_plutusv2_old_tx_era(
5251
self,
@@ -100,7 +99,6 @@ def test_plutusv2_old_tx_era(
10099
reason="runs only with Tx era < Alonzo",
101100
)
102101
@pytest.mark.smoke
103-
@pytest.mark.testnets
104102
@pytest.mark.dbsync
105103
def test_plutusv1_old_tx_era(
106104
self,

cardano_node_tests/tests/tests_plutus/test_spend_datum_build.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ class TestDatum:
5151

5252
@allure.link(helpers.get_vcs_link())
5353
@pytest.mark.smoke
54-
@pytest.mark.testnets
5554
@pytest.mark.dbsync
5655
def test_datum_on_key_credential_address(
5756
self,
@@ -188,7 +187,6 @@ def pbt_script_addresses(
188187
@pytest.mark.parametrize("address_type", ("script_address", "key_address"))
189188
@common.PARAM_PLUTUS_VERSION
190189
@pytest.mark.smoke
191-
@pytest.mark.testnets
192190
def test_no_datum_txout(
193191
self,
194192
cluster: clusterlib.ClusterLib,
@@ -329,7 +327,6 @@ def test_lock_tx_invalid_datum(
329327
@allure.link(helpers.get_vcs_link())
330328
@common.PARAM_PLUTUS_VERSION
331329
@pytest.mark.smoke
332-
@pytest.mark.testnets
333330
def test_unlock_tx_wrong_datum(
334331
self,
335332
cluster: clusterlib.ClusterLib,
@@ -390,7 +387,6 @@ def test_unlock_tx_wrong_datum(
390387
@allure.link(helpers.get_vcs_link())
391388
@common.PARAM_PLUTUS_VERSION
392389
@pytest.mark.smoke
393-
@pytest.mark.testnets
394390
def test_unlock_non_script_utxo(
395391
self,
396392
cluster: clusterlib.ClusterLib,

cardano_node_tests/tests/tests_plutus/test_spend_datum_raw.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ class TestDatum:
4747

4848
@allure.link(helpers.get_vcs_link())
4949
@pytest.mark.smoke
50-
@pytest.mark.testnets
5150
@pytest.mark.dbsync
5251
def test_datum_on_key_credential_address(
5352
self,
@@ -126,7 +125,6 @@ def pbt_script_addresses(
126125
@pytest.mark.parametrize("address_type", ("script_address", "key_address"))
127126
@common.PARAM_PLUTUS_VERSION
128127
@pytest.mark.smoke
129-
@pytest.mark.testnets
130128
def test_no_datum_txout(
131129
self,
132130
cluster: clusterlib.ClusterLib,

cardano_node_tests/tests/tests_plutus/test_spend_negative_build.py

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ class TestNegative:
5252
@allure.link(helpers.get_vcs_link())
5353
@common.PARAM_PLUTUS_VERSION
5454
@pytest.mark.smoke
55-
@pytest.mark.testnets
5655
@pytest.mark.dbsync
5756
def test_wrong_script(
5857
self,
@@ -108,7 +107,6 @@ def test_wrong_script(
108107
@allure.link(helpers.get_vcs_link())
109108
@common.PARAM_PLUTUS_VERSION
110109
@pytest.mark.smoke
111-
@pytest.mark.testnets
112110
@pytest.mark.dbsync
113111
def test_no_script(
114112
self,
@@ -162,7 +160,6 @@ def test_no_script(
162160
@allure.link(helpers.get_vcs_link())
163161
@common.PARAM_PLUTUS3_VERSION
164162
@pytest.mark.smoke
165-
@pytest.mark.testnets
166163
@pytest.mark.dbsync
167164
def test_collateral_w_tokens(
168165
self,
@@ -238,7 +235,6 @@ def test_collateral_w_tokens(
238235
@allure.link(helpers.get_vcs_link())
239236
@common.PARAM_PLUTUS3_VERSION
240237
@pytest.mark.smoke
241-
@pytest.mark.testnets
242238
@pytest.mark.dbsync
243239
def test_same_collateral_txin(
244240
self,
@@ -312,7 +308,6 @@ def test_same_collateral_txin(
312308
)
313309
@common.PARAM_PLUTUS_VERSION
314310
@pytest.mark.smoke
315-
@pytest.mark.testnets
316311
@pytest.mark.dbsync
317312
def test_invalid_guessing_game(
318313
self,
@@ -386,7 +381,6 @@ def test_invalid_guessing_game(
386381
@allure.link(helpers.get_vcs_link())
387382
@common.PARAM_PLUTUS3_VERSION
388383
@pytest.mark.smoke
389-
@pytest.mark.testnets
390384
def test_two_scripts_spending_one_fail(
391385
self,
392386
cluster: clusterlib.ClusterLib,
@@ -660,7 +654,6 @@ def _int_out_of_range(
660654
@common.hypothesis_settings(max_examples=200)
661655
@common.PARAM_PLUTUS_VERSION
662656
@pytest.mark.smoke
663-
@pytest.mark.testnets
664657
def test_wrong_value_inside_range(
665658
self,
666659
cluster: clusterlib.ClusterLib,
@@ -726,7 +719,6 @@ def test_wrong_value_inside_range(
726719
@common.hypothesis_settings(max_examples=200)
727720
@common.PARAM_PLUTUS_VERSION
728721
@pytest.mark.smoke
729-
@pytest.mark.testnets
730722
def test_wrong_value_above_range(
731723
self,
732724
cluster: clusterlib.ClusterLib,
@@ -764,7 +756,6 @@ def test_wrong_value_above_range(
764756
@common.hypothesis_settings(max_examples=200)
765757
@common.PARAM_PLUTUS_VERSION
766758
@pytest.mark.smoke
767-
@pytest.mark.testnets
768759
def test_wrong_value_bellow_range(
769760
self,
770761
cluster: clusterlib.ClusterLib,
@@ -801,7 +792,6 @@ def test_wrong_value_bellow_range(
801792
@common.hypothesis_settings(max_examples=200)
802793
@common.PARAM_PLUTUS_VERSION
803794
@pytest.mark.smoke
804-
@pytest.mark.testnets
805795
def test_wrong_type(
806796
self,
807797
cluster: clusterlib.ClusterLib,
@@ -855,7 +845,6 @@ def test_wrong_type(
855845
@common.hypothesis_settings(max_examples=100)
856846
@common.PARAM_PLUTUS_VERSION
857847
@pytest.mark.smoke
858-
@pytest.mark.testnets
859848
def test_too_big(
860849
self,
861850
cluster: clusterlib.ClusterLib,
@@ -912,7 +901,6 @@ def test_too_big(
912901
@common.hypothesis_settings(max_examples=200)
913902
@common.PARAM_PLUTUS_VERSION
914903
@pytest.mark.smoke
915-
@pytest.mark.testnets
916904
def test_json_schema_typed_int_bytes_declared(
917905
self,
918906
cluster: clusterlib.ClusterLib,
@@ -969,7 +957,6 @@ def test_json_schema_typed_int_bytes_declared(
969957
@common.hypothesis_settings(max_examples=200)
970958
@common.PARAM_PLUTUS_VERSION
971959
@pytest.mark.smoke
972-
@pytest.mark.testnets
973960
def test_json_schema_untyped_int_bytes_declared(
974961
self,
975962
cluster: clusterlib.ClusterLib,
@@ -1026,7 +1013,6 @@ def test_json_schema_untyped_int_bytes_declared(
10261013
@common.hypothesis_settings(max_examples=200)
10271014
@common.PARAM_PLUTUS_VERSION
10281015
@pytest.mark.smoke
1029-
@pytest.mark.testnets
10301016
def test_json_schema_typed_bytes_int_declared(
10311017
self,
10321018
cluster: clusterlib.ClusterLib,
@@ -1084,7 +1070,6 @@ def test_json_schema_typed_bytes_int_declared(
10841070
@common.hypothesis_settings(max_examples=200)
10851071
@common.PARAM_PLUTUS_VERSION
10861072
@pytest.mark.smoke
1087-
@pytest.mark.testnets
10881073
def test_json_schema_untyped_bytes_int_declared(
10891074
self,
10901075
cluster: clusterlib.ClusterLib,
@@ -1142,7 +1127,6 @@ def test_json_schema_untyped_bytes_int_declared(
11421127
@common.hypothesis_settings(max_examples=200)
11431128
@common.PARAM_PLUTUS_VERSION
11441129
@pytest.mark.smoke
1145-
@pytest.mark.testnets
11461130
def test_invalid_json(
11471131
self,
11481132
cluster: clusterlib.ClusterLib,
@@ -1196,7 +1180,6 @@ def test_invalid_json(
11961180
@common.hypothesis_settings(max_examples=200)
11971181
@common.PARAM_PLUTUS_VERSION
11981182
@pytest.mark.smoke
1199-
@pytest.mark.testnets
12001183
def test_json_schema_typed_invalid_type(
12011184
self,
12021185
cluster: clusterlib.ClusterLib,
@@ -1255,7 +1238,6 @@ def test_json_schema_typed_invalid_type(
12551238
@common.hypothesis_settings(max_examples=200)
12561239
@common.PARAM_PLUTUS_VERSION
12571240
@pytest.mark.smoke
1258-
@pytest.mark.testnets
12591241
def test_json_schema_untyped_invalid_type(
12601242
self,
12611243
cluster: clusterlib.ClusterLib,

0 commit comments

Comments
 (0)