diff --git a/evdspy/EVDSlocal/utils/utils_test.py b/evdspy/EVDSlocal/utils/utils_test.py index 4f244c4..c8705d4 100644 --- a/evdspy/EVDSlocal/utils/utils_test.py +++ b/evdspy/EVDSlocal/utils/utils_test.py @@ -34,7 +34,7 @@ def get_file_deep(num=1): return folder / file_name for _ in range(deep): file_name = get_file_deep(_) - if file_name.is_file(): + if file_name and file_name.is_file(): return file_name return None def test_get_api_key_file(capsys):