Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
cthoyt committed Nov 27, 2023
1 parent e3b1935 commit 8c3c10a
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/test_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,9 @@ def assert_test_mappings(self, mappings):
def test_custom(self):
"""Test using custom sources in the configuration."""
inp = Input(source="custom", prefix="get_test_mappings")
config = Configuration(inputs=[inp], priority=["a", "b"])
config = Configuration(
inputs=[inp], priority=["a", "b"], name="Test Configuration", description="Tests using custom sources"
)
mappings = get_raw_mappings(config)
self.assert_test_mappings(mappings)

Expand All @@ -71,6 +73,8 @@ def test_sssom(self):
write_sssom(TEST_MAPPINGS, path)

inp = Input(source="sssom", prefix=path.as_posix(), extras={"mapping_set_name": "test"})
config = Configuration(inputs=[inp], priority=["a", "b"])
config = Configuration(
inputs=[inp], priority=["a", "b"], name="Test Configuration", description="Tests using SSSOM sources"
)
mappings = get_raw_mappings(config)
self.assert_test_mappings(mappings)

0 comments on commit 8c3c10a

Please sign in to comment.