Skip to content

Commit d28e8c9

Browse files
committed
Return empty list for mock_get_verified_links yo not brake existing metadata tests
1 parent 250b9cd commit d28e8c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

conftest.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -361,5 +361,5 @@ def helpful_thing(self):
361361
@pytest.fixture(autouse=True)
362362
def mock_get_verified_links():
363363
with mock.patch('osf.models.node.AbstractNode.get_verified_links') as get_links_mock:
364-
get_links_mock.return_value = [{'target_url': '', 'resource_type': 'Book'}]
364+
get_links_mock.return_value = []
365365
yield get_links_mock

0 commit comments

Comments
 (0)