mirror of
https://github.com/Chia-Network/chia-blockchain.git
synced 2024-12-01 20:05:43 +03:00
-updated tests to use new format for create_offer
This commit is contained in:
parent
0a11cf8a64
commit
4feeb0c867
@ -320,7 +320,7 @@ class TestWalletSimulator:
|
||||
|
||||
offer_dict = {1: 10, 2: -30}
|
||||
|
||||
success, spend_bundle = await trade_manager_1.create_offer_for_ids(offer_dict)
|
||||
success, spend_bundle, error = await trade_manager_1.create_offer_for_ids(offer_dict)
|
||||
|
||||
assert success is True
|
||||
assert spend_bundle is not None
|
||||
@ -504,7 +504,7 @@ class TestWalletSimulator:
|
||||
|
||||
offer_dict = {1: -1000, 2: -30, 3: 50}
|
||||
|
||||
success, spend_bundle = await trade_manager_1.create_offer_for_ids(offer_dict)
|
||||
success, spend_bundle, error = await trade_manager_1.create_offer_for_ids(offer_dict)
|
||||
|
||||
assert success is True
|
||||
assert spend_bundle is not None
|
||||
@ -600,7 +600,7 @@ class TestWalletSimulator:
|
||||
|
||||
offer_dict = {1: -10, 2: 30}
|
||||
|
||||
success, spend_bundle = await trade_manager_2.create_offer_for_ids(offer_dict)
|
||||
success, spend_bundle, error = await trade_manager_2.create_offer_for_ids(offer_dict)
|
||||
|
||||
assert success is True
|
||||
assert spend_bundle is not None
|
||||
|
Loading…
Reference in New Issue
Block a user