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

FIX: mockup

parent 67da2353
No related branches found
No related tags found
2 merge requests!160STY: styling,!131Accept references of children
Pipeline #40983 failed
......@@ -686,7 +686,7 @@ def test_split_into_inserts_and_updates_backref(crawler_mocked_for_backref_test)
@patch("caoscrawler.identifiable_adapters.get_children_of_rt",
new=Mock(side_effect=id))
new=Mock(side_effect=lambda x: [x]))
def test_split_into_inserts_and_updates_mult_backref(crawler_mocked_for_backref_test):
# test whether multiple references of the same record type are correctly used
crawler = crawler_mocked_for_backref_test
......@@ -708,7 +708,7 @@ def test_split_into_inserts_and_updates_mult_backref(crawler_mocked_for_backref_
@patch("caoscrawler.identifiable_adapters.get_children_of_rt",
new=Mock(side_effect=id))
new=Mock(side_effect=lambda x: [x]))
def test_split_into_inserts_and_updates_diff_backref(crawler_mocked_for_backref_test):
# test whether multiple references of the different record types are correctly used
crawler = crawler_mocked_for_backref_test
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment