From 5c58b3d65e370ebd3dadc1133157c73c6afc84af Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Thu, 27 Jan 2022 19:35:44 +0100 Subject: facilitate querying IndexedDB for script files of resource and its dependencies --- test/unit/test_indexeddb.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'test/unit/test_indexeddb.py') diff --git a/test/unit/test_indexeddb.py b/test/unit/test_indexeddb.py index aea633b..b320cff 100644 --- a/test/unit/test_indexeddb.py +++ b/test/unit/test_indexeddb.py @@ -51,16 +51,6 @@ def make_sample_mapping(): 'identifier': 'helloapple' } -def mock_broadcast(execute_in_page): - execute_in_page( - '''{ - const broadcast_mock = {}; - const nop = () => {}; - for (const key in broadcast) - broadcast_mock[key] = nop; - broadcast = broadcast_mock; - }''') - @pytest.mark.get_page('https://gotmyowndoma.in') def test_haketilodb_item_modifications(driver, execute_in_page): """ -- cgit v1.2.3