Commit 27c1b48a authored by Wael Ramadan's avatar Wael Ramadan
Browse files

revert test_creating_bounded_facts

parent 4eb8d9bc
Pipeline #5713 passed with stage
in 35 minutes and 23 seconds
......@@ -107,8 +107,7 @@ def test_remove_duplicate_facts_by_span_in_doc(expected_non_duplicate_facts, tes
doc_path="text",
json_doc=None,
analyzers=[],
concat_resources=mlp_wrapper.concat_resources,
error=""
concat_resources=mlp_wrapper.concat_resources
)
output_facts = doc.remove_duplicate_facts_by_span(test_input)
......@@ -142,8 +141,7 @@ def test_bound_close_ones(expected_close_BOUNDS, test_input):
doc_path="text",
json_doc=None,
analyzers=[],
concat_resources=mlp_wrapper.concat_resources,
error=""
concat_resources=mlp_wrapper.concat_resources
)
output_list = doc.bound_close_ones(test_input)
......@@ -176,8 +174,7 @@ def test_remove_overlaping_in_bounded(expected_bounds_no_overlap, test_input):
doc_path="text",
json_doc=None,
analyzers=[],
concat_resources=mlp_wrapper.concat_resources,
error=""
concat_resources=mlp_wrapper.concat_resources
)
bounded_facts = doc.bound_close_ones(test_input)
......@@ -204,8 +201,7 @@ def test_concatenate_subset_bounds(expected_bounds_no_subsets, test_input):
doc_path="text",
json_doc=None,
analyzers=[],
concat_resources=mlp_wrapper.concat_resources,
error=""
concat_resources=mlp_wrapper.concat_resources
)
bounded_facts = doc.bound_close_ones(test_input)
......@@ -231,8 +227,7 @@ def test_concatenate_subset_bounds(key_value_single_pairs, test_input):
doc_path="text",
json_doc=None,
analyzers=[],
concat_resources=mlp_wrapper.concat_resources,
error=""
concat_resources=mlp_wrapper.concat_resources
)
result = doc.key_value_single_pairs(test_input)
......@@ -254,8 +249,7 @@ def test_space_between_ok(mlp, ok_spaces):
doc_path="text",
json_doc=None,
analyzers=[],
concat_resources=mlp_wrapper.concat_resources,
error=""
concat_resources=mlp_wrapper.concat_resources
)
result = doc.space_between_ok(ok_spaces[0], ok_spaces[1], ok_spaces[2])
assert result is True
......@@ -281,8 +275,7 @@ def test_space_between_not_ok(mlp, not_ok_spaces):
doc_path="text",
json_doc=None,
analyzers=[],
concat_resources=mlp_wrapper.concat_resources,
error=""
concat_resources=mlp_wrapper.concat_resources
)
result = doc.space_between_ok(not_ok_spaces[0], not_ok_spaces[1], not_ok_spaces[2])
assert result == False
......@@ -306,8 +299,7 @@ def test_clean_similar_in_strval(similar_cleaned_str_val, test_input):
doc_path="text",
json_doc=None,
analyzers=[],
concat_resources=mlp_wrapper.concat_resources,
error=""
concat_resources=mlp_wrapper.concat_resources
)
result = doc.clean_similar_in_strval(dict(test_input))
assert result.keys() == similar_cleaned_str_val.keys()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment