diff options
Diffstat (limited to 'tests/test_build.py')
-rw-r--r-- | tests/test_build.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/test_build.py b/tests/test_build.py index 968ac8d..ff17be6 100644 --- a/tests/test_build.py +++ b/tests/test_build.py @@ -34,8 +34,7 @@ expected_generated_by = { orig_srcdir = here / 'source-package-example' -index_text = (orig_srcdir / 'index.json').read_text() -index_obj = json.loads(hydrilla_util.strip_json_comments(index_text)) +index_obj, _ = hydrilla_util.load_instance_from_file(orig_srcdir / 'index.json') def read_files(*file_list): """ |