fixing tests
This commit is contained in:
parent
6fde0cabc6
commit
054f59453d
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in a new issue