tests/ui: mkdir for new test

pull/794/head
Tomas Susanka 4 years ago
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…
Cancel
Save