fixing problem in live test

This commit is contained in:
Cayo Puigdefabregas 2021-02-04 12:23:28 +01:00
parent ee4bf45c72
commit a716e95792
1 changed files with 1 additions and 1 deletions

View File

@ -580,7 +580,7 @@ def test_save_live_json(app: Devicehub, user: UserClient, client: Client):
snapshot = {'debug': ''} snapshot = {'debug': ''}
if files: if files:
path_snapshot = os.path.join(path_dir_base, files[0]) path_snapshot = os.path.join(path_dir_base, files[-1])
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())