def test_xfer_fees_during_view_change(looper, helpers, nodeSetWithIntegratedTokenPlugin, fees_set, mint_multiple_tokens, send_and_check_xfer, io_addresses): scenario_txns_during_view_change(looper, helpers, nodeSetWithIntegratedTokenPlugin, io_addresses, send_and_check_xfer)
def test_xfer_nym_fees_during_view_change( looper, nodeSetWithIntegratedTokenPlugin, fees_set, curr_utxo, send_and_check_transfer_curr_utxo, send_and_check_nym_with_fees_curr_utxo, ): def send_txns(): send_and_check_transfer_curr_utxo() send_and_check_nym_with_fees_curr_utxo() scenario_txns_during_view_change(looper, nodeSetWithIntegratedTokenPlugin, curr_utxo, send_txns)
def test_xfer_fees_during_view_change( looper, nodeSetWithIntegratedTokenPlugin, fees_set, curr_utxo, send_and_check_transfer_curr_utxo ): scenario_txns_during_view_change( looper, nodeSetWithIntegratedTokenPlugin, curr_utxo, send_and_check_transfer_curr_utxo )
def test_nym_fees_during_view_change(looper, nodeSetWithIntegratedTokenPlugin, sdk_pool_handle, sdk_wallet_client, fees, fees_set, curr_utxo, send_and_check_nym_with_fees_curr_utxo): def send_txns_invalid(): with pytest.raises(RequestRejectedException, match='Rule for this action is'): sdk_add_new_nym(looper, sdk_pool_handle, sdk_wallet_client) scenario_txns_during_view_change( looper, nodeSetWithIntegratedTokenPlugin, curr_utxo, send_and_check_nym_with_fees_curr_utxo, send_txns_invalid=(None if fees[NYM_FEES_ALIAS] else send_txns_invalid))
def test_nym_during_view_change( looper, helpers, nodeSetWithIntegratedTokenPlugin, fees, fees_set, mint_multiple_tokens, send_and_check_nym, io_addresses, sdk_pool_handle, sdk_wallet_client ): def send_txns_invalid(): with pytest.raises(RequestRejectedException, match='Rule for this action is'): sdk_add_new_nym(looper, sdk_pool_handle, sdk_wallet_client) scenario_txns_during_view_change( looper, helpers, nodeSetWithIntegratedTokenPlugin, io_addresses, send_and_check_nym, send_txns_invalid=(None if fees[NYM_FEES_ALIAS] else send_txns_invalid) )