Skip to content

Commit

Permalink
tests/ui: mkdir for new test
Browse files Browse the repository at this point in the history
  • Loading branch information
tsusanka committed Jan 15, 2020
1 parent 7c7ed59 commit 783fa80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ui_tests/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 783fa80

Please sign in to comment.