From 305b244f101d8ea8f1e9d4396a1601d96c2cd6ef Mon Sep 17 00:00:00 2001 From: Sierra Taylor Moxon Date: Wed, 10 May 2023 09:51:52 -0700 Subject: [PATCH] fixing tests --- tests/resources/test-transform-rdf-tsv.yaml | 2 +- tests/unit/test_cli_utils.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/resources/test-transform-rdf-tsv.yaml b/tests/resources/test-transform-rdf-tsv.yaml index bd91e7f7..cb5dc01f 100644 --- a/tests/resources/test-transform-rdf-tsv.yaml +++ b/tests/resources/test-transform-rdf-tsv.yaml @@ -12,7 +12,7 @@ transform: output: format: tsv filename: - - test-tranform-rdf + - test-transform-rdf valid_graph: name: "Valid JSON Graph" input: diff --git a/tests/unit/test_cli_utils.py b/tests/unit/test_cli_utils.py index a0cf4491..47279fea 100644 --- a/tests/unit/test_cli_utils.py +++ b/tests/unit/test_cli_utils.py @@ -870,10 +870,10 @@ def test_transform_rdf_to_tsv(): """ Transform from a test transform YAML. """ - transform_config = os.path.join(RESOURCE_DIR, "test-transform-tsv-rdf.yaml") + transform_config = os.path.join(RESOURCE_DIR, "test-transform-rdf-tsv.yaml") transform(inputs=None, transform_config=transform_config) - assert os.path.exists(os.path.join(TARGET_DIR, "test-transform-rdf.tsv")) - assert os.path.exists(os.path.join(TARGET_DIR, "test-transform-rdf.tsv")) + assert os.path.exists(os.path.join(TARGET_DIR, "test-transform-rdf_edges.tsv")) + assert os.path.exists(os.path.join(TARGET_DIR, "test-transform-rdf_nodes.tsv")) def test_transform_tsv_to_rdf():