adding endpoints to render test

This commit is contained in:
Cayo Puigdefabregas 2020-12-29 19:03:36 +01:00
parent 2d4c4d4c89
commit 56f134bd18
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,8 @@ def test_api_docs(client: Client):
'/allocates/', '/allocates/',
'/deallocates/', '/deallocates/',
'/metrics/', '/metrics/',
'/licences/',
'/lives/',
} }
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'] == {