summaryrefslogtreecommitdiff
path: root/test/unit/test_indexeddb.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/test_indexeddb.py')
-rw-r--r--test/unit/test_indexeddb.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/test/unit/test_indexeddb.py b/test/unit/test_indexeddb.py
index 9f31480..c2d5427 100644
--- a/test/unit/test_indexeddb.py
+++ b/test/unit/test_indexeddb.py
@@ -429,11 +429,14 @@ def test_haketilodb_track(driver, execute_in_page, wait_elem_text):
},
'file': {
'sha256': sample_files_by_sha256
- }
+ },
+ 'repo': [
+ 'https://hydril2.la/'
+ ]
}
execute_in_page('returnval(save_items(arguments[0]));', sample_data)
execute_in_page('returnval(set_setting("option22", "abc"));')
- execute_in_page('returnval(set_repo("https://hydril2.la"));')
+ execute_in_page('returnval(set_repo("https://hydril3.la/"));')
execute_in_page('returnval(set_allowed("ftp://a.bc/"));')
driver.switch_to.window(windows[0])
@@ -442,7 +445,8 @@ def test_haketilodb_track(driver, execute_in_page, wait_elem_text):
('resource_helloapple-copy', sample_resource2),
('mapping_helloapple-copy', sample_mapping2),
('setting_option22', {'name': 'option22', 'value': 'abc'}),
- ('repo_https://hydril2.la', {'url': 'https://hydril2.la'}),
+ ('repo_https://hydril2.la/', {'url': 'https://hydril2.la/'}),
+ ('repo_https://hydril3.la/', {'url': 'https://hydril3.la/'}),
('blocking_ftp://a.bc/', {'pattern': 'ftp://a.bc/', 'allow': True})
]:
assert json.loads(driver.find_element_by_id(elem_id).text) == json_value