Skip to content

Commit

Permalink
fix: check if path exists in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafiot committed Sep 22, 2023
1 parent 249cf20 commit fc38ead
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/testlive_comprehensive.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,11 @@

fast_mode = False

if not Path('tests/viper-test-files').exists():
test_file_path = Path('tests/viper-test-files')

print(test_file_path, 'exists: ', test_file_path.exists())

if not test_file_path.exists():
print('The test files are missing, pulling it.')
os.system('git clone https://github.com/viper-framework/viper-test-files.git tests/viper-test-files')

Expand Down

0 comments on commit fc38ead

Please sign in to comment.