diff options
author | Wojtek Kosior <koszko@koszko.org> | 2022-02-15 13:18:59 +0100 |
---|---|---|
committer | Wojtek Kosior <koszko@koszko.org> | 2022-02-15 13:18:59 +0100 |
commit | 92fc67cfa135526cef75311c3ee1a14e248c3060 (patch) | |
tree | 139aa953f29df525433001cd3b5487cb8df8f91a /test/unit/test_patterns_query_manager.py | |
parent | cf838016b70bc55d8fb19a10b4deb580289e3769 (diff) | |
download | browser-extension-92fc67cfa135526cef75311c3ee1a14e248c3060.tar.gz browser-extension-92fc67cfa135526cef75311c3ee1a14e248c3060.zip |
change store names and data keys to singular
Diffstat (limited to 'test/unit/test_patterns_query_manager.py')
-rw-r--r-- | test/unit/test_patterns_query_manager.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/test_patterns_query_manager.py b/test/unit/test_patterns_query_manager.py index 13d0add..9fbc438 100644 --- a/test/unit/test_patterns_query_manager.py +++ b/test/unit/test_patterns_query_manager.py @@ -105,7 +105,7 @@ def test_pqm_tree_building(driver, execute_in_page): return [{}, initial_blocking]; } - haketilodb.track.settings = function (cb) { + haketilodb.track.setting = function (cb) { settingchange = cb; return [{}, [{name: "default_allow", value: true}]]; @@ -271,10 +271,10 @@ def test_pqm_script_injection(driver, execute_in_page): execute_in_page(load_script('common/indexeddb.js')) sample_data = { - 'mappings': dict([(sm['identifier'], {'1.0': sm}) - for sm in sample_mappings]), - 'resources': {}, - 'files': {} + 'mapping': dict([(sm['identifier'], {'1.0': sm}) + for sm in sample_mappings]), + 'resource': {}, + 'file': {} } execute_in_page('returnval(save_items(arguments[0]));', sample_data) |