Skip to content

Commit 2971eb0

Browse files
[LABS-290] Port test_wallet_rpc.py to WalletTestFramework (#20253)
* Port `test_send_transaction` * Port `test_push_transactions` * Port `test_get_balance` * Port `test_get_farmed_amount` * Port `test_get_farmed_amount_with_fee` * Port `test_get_timestamp_for_height` * (restrict some parametrizations) * Port `create_signed_transaction` (and fix WalletTestFramework) * Port `test_create_signed_transaction_with_puzzle/coin_announcement` * Port `test_create_signed_transaction_with_excluded_coins` * Port `test_get_transactions` * Port `test_get_transaction_count` * Port `test_get_coin_records_by_names` * Port `test_did_endpoints` * Port `test_nft_endpoints` * Port `test_key_and_address_endpoints` * Port `test_select_coins_rpc` * Port `test_get_coin_records_rpc` * Port `test_get_coin_records_rpc_limits/failures` * Port `test_notification_rpcs` * Port `test_verify_signature` * Port `test_set_wallet_resync_on_startup` * Port `test_set_wallet_resync_on_startup_disable` * Port `test_set_wallet_resync_schema` * Port `test_cat_spend_run_tail` * Port `test_get_balances` * Delete unused fixtures * Remove DEFAULT_TX_CONFIG * Fix reuse_puzhash behavior * Minor improvements. --------- Co-authored-by: Amine Khaldi <[email protected]>
1 parent 25501d6 commit 2971eb0

File tree

2 files changed

+947
-568
lines changed

2 files changed

+947
-568
lines changed

chia/_tests/environments/wallet.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ async def change_balances(self, update_dictionary: dict[Union[int, str], dict[st
228228
)
229229
else:
230230
for key, change in kwargs.items():
231-
if key in "set_remainder":
231+
if key in {"set_remainder", "init"}:
232232
continue
233233
if "#" in key:
234234
opp: str = key[0 : key.index("#")]

0 commit comments

Comments
 (0)