fixing test

This commit is contained in:
Cayo Puigdefabregas 2020-11-28 19:04:54 +01:00
parent a9f6e9ccaa
commit 517007ef50
1 changed files with 1 additions and 2 deletions

View File

@ -558,8 +558,7 @@ def test_action_no_snapshot_without_save_file(app: Devicehub, user: UserClient):
action = {'type': Ready.t, 'devices': [snapshot['device']['id']]}
action, _ = user.post(action, res=Action)
files = [x for x in os.listdir(path_dir_base) if '.json' in x]
assert len(files) == 0
assert os.path.exists(tmp_snapshots) == False
@pytest.mark.mvp
def test_save_snapshot_with_debug(app: Devicehub, user: UserClient):