aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-05-27 19:43:51 +0200
committerWojtek Kosior <koszko@koszko.org>2022-05-31 15:17:11 +0200
commitf42f5c1957e9c6ff8a61ef295b63dccead9b0ae8 (patch)
treeefc3d1eb06f6cabd95635d88f957537312985a2a /tests
parent496d90f70a58c0040f8493aa8a5e4e2f106bfac7 (diff)
downloadhydrilla-builder-f42f5c1957e9c6ff8a61ef295b63dccead9b0ae8.tar.gz
hydrilla-builder-f42f5c1957e9c6ff8a61ef295b63dccead9b0ae8.zip
incorporate version 2 of Hydrilla JSON schemas
Diffstat (limited to 'tests')
-rw-r--r--tests/test_build.py3
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):
"""