fixing tests
This commit is contained in:
parent
e34371bbc5
commit
d24a0ca16b
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
Reference in New Issue