From fc38eadcacec36da9d41d27233a8f3336d4d29eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Vinot?= Date: Fri, 22 Sep 2023 14:55:28 +0200 Subject: [PATCH] fix: check if path exists in tests --- tests/testlive_comprehensive.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/testlive_comprehensive.py b/tests/testlive_comprehensive.py index 5c1a8d8a..c1609df8 100644 --- a/tests/testlive_comprehensive.py +++ b/tests/testlive_comprehensive.py @@ -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')