mirror of
https://github.com/trezor/trezor-firmware.git
synced 2025-01-13 17:00:59 +00:00
tests/ui: mkdir for new test
This commit is contained in:
parent
7c7ed59678
commit
783fa80d19
@ -95,6 +95,8 @@ def screen_recording(client, request):
|
||||
else:
|
||||
raise ValueError("Invalid 'ui' option.")
|
||||
|
||||
if not fixture_test_path.exists():
|
||||
fixture_test_path.mkdir()
|
||||
# remove previous files
|
||||
shutil.rmtree(screen_path, ignore_errors=True)
|
||||
screen_path.mkdir()
|
||||
|
Loading…
Reference in New Issue
Block a user