fixing tests

This commit is contained in:
Cayo Puigdefabregas 2021-02-10 11:01:12 +01:00
parent e34371bbc5
commit d24a0ca16b
2 changed files with 2 additions and 2 deletions

View File

@ -584,7 +584,7 @@ def test_save_live_json(app: Devicehub, user: UserClient, client: Client):
with open(path_snapshot) as file_snapshot: with open(path_snapshot) as file_snapshot:
snapshot = json.loads(file_snapshot.read()) snapshot = json.loads(file_snapshot.read())
shutil.rmtree(tmp_snapshots) shutil.rmtree(tmp_snapshots)
assert snapshot['debug'] == debug assert snapshot['debug'] == debug

View File

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