Revision 5c58b3d6
Added by koszko over 1 year ago
| test/unit/test_indexeddb.py | ||
|---|---|---|
| 51 | 51 |
'identifier': 'helloapple' |
| 52 | 52 |
} |
| 53 | 53 |
|
| 54 |
def mock_broadcast(execute_in_page): |
|
| 55 |
execute_in_page( |
|
| 56 |
'''{
|
|
| 57 |
const broadcast_mock = {};
|
|
| 58 |
const nop = () => {};
|
|
| 59 |
for (const key in broadcast) |
|
| 60 |
broadcast_mock[key] = nop; |
|
| 61 |
broadcast = broadcast_mock; |
|
| 62 |
}''') |
|
| 63 |
|
|
| 64 | 54 |
@pytest.mark.get_page('https://gotmyowndoma.in')
|
| 65 | 55 |
def test_haketilodb_item_modifications(driver, execute_in_page): |
| 66 | 56 |
""" |
Also available in: Unified diff
facilitate querying IndexedDB for script files of resource and its dependencies