Skip to content
Snippets Groups Projects
Commit d4480bc9 authored by Henrik tom Wörden's avatar Henrik tom Wörden
Browse files

FIX: add mock

parent 9e7e2e3b
No related branches found
No related tags found
2 merge requests!160STY: styling,!131Accept references of children
Pipeline #40987 passed with warnings
......@@ -651,6 +651,8 @@ def test_validation_error_print(caplog):
caplog.clear()
@patch("caoscrawler.identifiable_adapters.get_children_of_rt",
new=Mock(side_effect=lambda x: [x]))
def test_split_into_inserts_and_updates_backref(crawler_mocked_for_backref_test):
crawler = crawler_mocked_for_backref_test
identlist = [Identifiable(name="A", record_type="BR"),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment