From c5ef11e6701faf81b3479d61cfffdf1a458f977b Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 9 Apr 2021 14:43:20 +0200 Subject: [PATCH] fixing for todo trade pr --- ereuse_devicehub/dummy/dummy.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/ereuse_devicehub/dummy/dummy.py b/ereuse_devicehub/dummy/dummy.py index 376ccd1b..e83a3577 100644 --- a/ereuse_devicehub/dummy/dummy.py +++ b/ereuse_devicehub/dummy/dummy.py @@ -115,13 +115,13 @@ class Dummy: user1.post({'type': model.t, 'devices': [pc]}, res=m.Action) # Perform a Sell to several devices - user1.post( - { - 'type': m.Sell.t, - 'to': user1.user['individuals'][0]['id'], - 'devices': list(itertools.islice(pcs, len(pcs) // 2)) - }, - res=m.Action) + # user1.post( + # { + # 'type': m.Sell.t, + # 'to': user1.user['individuals'][0]['id'], + # 'devices': list(itertools.islice(pcs, len(pcs) // 2)) + # }, + # res=m.Action) lot_user, _ = user1.post({'name': 'LoteStephan'}, res=Lot) @@ -171,13 +171,13 @@ class Dummy: res=m.Action) # todo test reserve - user1.post( # Sell device - { - 'type': m.Sell.t, - 'to': user1.user['individuals'][0]['id'], - 'devices': [sample_pc] - }, - res=m.Action) + # user1.post( # Sell device + # { + # 'type': m.Sell.t, + # 'to': user1.user['individuals'][0]['id'], + # 'devices': [sample_pc] + # }, + # res=m.Action) # todo Receive user1.get(res=Device, item=sample_pc) # Test