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

View File

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