Skip to content

Commit 78f6ace

Browse files
Fix test broken by c10a93c
1 parent e6e1758 commit 78f6ace

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

wpull/urlprioritiser_test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,8 @@ def hook(url_info: URLInfo, url_record: URLRecord):
5050
original_url_record = URLRecord() # TODO: pass a proper URLRecord instead
5151
self.assertEqual(prioritiser.get_priority(original_url_info, original_url_record), 3)
5252
self.assertEqual(len(hook_calls), 1)
53-
# Verify that the hook is called with a copy of the URLInfo and URLRecord instances
5453
self.assertEqual(hook_calls[0][0], original_url_info)
55-
self.assertIsNot(hook_calls[0][0], original_url_info)
5654
#self.assertEqual(hook_calls[0][1], original_url_record) # TODO: URLRecord does not provide __eq__
57-
self.assertIsNot(hook_calls[0][1], original_url_record)
5855
self.assertIs(hook_calls[0][1].priority, None)
5956

6057
def test_hook_overrides(self):

0 commit comments

Comments
 (0)