check in test this bug about time in the filename
This commit is contained in:
parent
25f3cdb172
commit
954dfa95a1
|
@ -493,6 +493,7 @@ def test_save_snapshot_in_file(app: Devicehub, user: UserClient):
|
|||
snapshot = {'software': '', 'version': '', 'uuid': ''}
|
||||
if files:
|
||||
path_snapshot = os.path.join(tmp_snapshots, files[0])
|
||||
assert not "0001-01-01 00:00:00" in path_snapshot
|
||||
with open(path_snapshot) as file_snapshot:
|
||||
snapshot = json.loads(file_snapshot.read())
|
||||
|
||||
|
|
Reference in New Issue