diff --git a/tests/test_cvrf_full/test_cvrf_full.py b/tests/test_cvrf_full/test_cvrf_full.py index 5afe0c3..26472aa 100644 --- a/tests/test_cvrf_full/test_cvrf_full.py +++ b/tests/test_cvrf_full/test_cvrf_full.py @@ -1,9 +1,10 @@ """File containing full CVRF test.""" import json from contextlib import suppress +from pathlib import Path -with open('./test_cvrf_full.json', encoding='utf-8') as f: +with open(Path(__file__).parent / 'test_cvrf_full.json', encoding='utf-8') as f: csaf = json.loads(f.read())