Skip to content

Commit 3702b5a

Browse files
committed
fix unit tests
1 parent f7c4eb7 commit 3702b5a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/unit/dataset_classes/testChebiOverXPartial.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ def setUpClass(cls, mock_makedirs) -> None:
1616
"""
1717
Set up the ChEBIOverXPartial instance with a mock processed directory path and a test graph.
1818
"""
19-
cls.chebi_extractor = ChEBIOverXPartial(top_class_id=11111, chebi_version=231)
19+
cls.chebi_extractor = ChEBIOverXPartial(
20+
top_class_id=11111, external_data_ratio=0.5, chebi_version=231
21+
)
2022
cls.test_graph = ChebiMockOntology.get_transitively_closed_graph()
2123

2224
@patch(

0 commit comments

Comments
 (0)