adding metrics in test_basic

This commit is contained in:
Cayo Puigdefabregas 2020-11-23 18:34:44 +01:00
parent 19d0410e74
commit a664b8cc6c
1 changed files with 1 additions and 0 deletions

View File

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