-updated tests to use new format for create_offer

This commit is contained in:
Matthew Howard 2020-04-29 14:29:29 +01:00
parent 0a11cf8a64
commit 4feeb0c867

View File

@ -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