Fixing test api docs
This commit is contained in:
parent
c172a8ca4b
commit
ce8bcc7577
|
@ -31,7 +31,8 @@ def test_api_docs(client: Client):
|
||||||
'/documents/devices/',
|
'/documents/devices/',
|
||||||
'/documents/static/{filename}',
|
'/documents/static/{filename}',
|
||||||
'/tags/{tag_id}/device/{device_id}',
|
'/tags/{tag_id}/device/{device_id}',
|
||||||
'/devices/static/{filename}'
|
'/devices/static/{filename}',
|
||||||
|
'/deliverynotes/'
|
||||||
}
|
}
|
||||||
assert docs['info'] == {'title': 'Devicehub', 'version': '0.2'}
|
assert docs['info'] == {'title': 'Devicehub', 'version': '0.2'}
|
||||||
assert docs['components']['securitySchemes']['bearerAuth'] == {
|
assert docs['components']['securitySchemes']['bearerAuth'] == {
|
||||||
|
@ -42,4 +43,4 @@ def test_api_docs(client: Client):
|
||||||
'scheme': 'basic',
|
'scheme': 'basic',
|
||||||
'name': 'Authorization'
|
'name': 'Authorization'
|
||||||
}
|
}
|
||||||
assert len(docs['definitions']) == 114
|
assert len(docs['definitions']) == 116
|
||||||
|
|
Reference in New Issue