fix: check if path exists in tests

pull/1067/head
Raphaël Vinot 2023-09-22 14:55:28 +02:00
parent 249cf20f35
commit fc38eadcac
1 changed files with 5 additions and 1 deletions

View File

@ -51,7 +51,11 @@ urllib3.disable_warnings()
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')