aboutsummaryrefslogtreecommitdiff
path: root/test/unit/test_basic.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-01-29 00:03:51 +0100
committerWojtek Kosior <koszko@koszko.org>2022-01-29 00:04:44 +0100
commit4c6a2323d90e9321ec2b78e226167b3013ea69ab (patch)
tree682ab3abd53a68d28d04f0470766699dcadd7294 /test/unit/test_basic.py
parentea9df6c7688613783ca114f0f11c6f6baf30036b (diff)
downloadbrowser-extension-4c6a2323d90e9321ec2b78e226167b3013ea69ab.tar.gz
browser-extension-4c6a2323d90e9321ec2b78e226167b3013ea69ab.zip
make Haketilo buildable again (for Mozilla)
How cool it is to throw away 5755 lines of code...
Diffstat (limited to 'test/unit/test_basic.py')
-rw-r--r--test/unit/test_basic.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/unit/test_basic.py b/test/unit/test_basic.py
index 5f42f5d..6ec54cc 100644
--- a/test/unit/test_basic.py
+++ b/test/unit/test_basic.py
@@ -40,9 +40,9 @@ def test_script_loader(execute_in_page):
A trivial test case that verifies Haketilo's .js files can be properly
loaded into a test page together with their dependencies.
"""
- execute_in_page(load_script('common/stored_types.js'))
+ execute_in_page(load_script('common/indexeddb.js'))
- assert execute_in_page('returnval(TYPE_PREFIX.VAR);') == '_'
+ assert 'mapping' in execute_in_page('returnval(stores.map(s => s[0]));')
@pytest.mark.ext_data({})
@pytest.mark.usefixtures('webextension')