fixing tests

This commit is contained in:
Cayo Puigdefabregas 2021-04-08 19:09:52 +02:00
parent 6fde0cabc6
commit 054f59453d
2 changed files with 1 additions and 3 deletions

View file

@ -119,7 +119,6 @@ class Dummy:
user1.post( user1.post(
{ {
'type': m.Sell.t, 'type': m.Sell.t,
'userTo': user1.user['email'],
'devices': list(itertools.islice(pcs, len(pcs) // 2)) 'devices': list(itertools.islice(pcs, len(pcs) // 2))
}, },
res=m.Action) res=m.Action)
@ -175,7 +174,6 @@ class Dummy:
user1.post( # Sell device user1.post( # Sell device
{ {
'type': m.Sell.t, 'type': m.Sell.t,
'userTo': user1.user['email'],
'devices': [sample_pc] 'devices': [sample_pc]
}, },
res=m.Action) res=m.Action)

View file

@ -120,4 +120,4 @@ def test_api_docs(client: Client):
'scheme': 'basic', 'scheme': 'basic',
'name': 'Authorization' 'name': 'Authorization'
} }
assert len(docs['definitions']) == 118 assert len(docs['definitions']) == 119