fixing test

This commit is contained in:
Cayo Puigdefabregas 2020-11-28 19:04:54 +01:00
parent a9f6e9ccaa
commit 517007ef50

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