aboutsummaryrefslogtreecommitdiff
path: root/test/world_wide_library.py
diff options
context:
space:
mode:
authorWojtek Kosior <koszko@koszko.org>2022-01-17 11:20:52 +0100
committerWojtek Kosior <koszko@koszko.org>2022-01-17 11:24:56 +0100
commit7bedbcbd80eba9359d2e905b7693923c76ce563d (patch)
tree5059ac406e29b1b1e81639fc11316dde280fe218 /test/world_wide_library.py
parentede3a55ba22d2560ec7c0deebffd73623488acc1 (diff)
downloadbrowser-extension-7bedbcbd80eba9359d2e905b7693923c76ce563d.tar.gz
browser-extension-7bedbcbd80eba9359d2e905b7693923c76ce563d.zip
move policy enforcing code to a new file, include basic test
Diffstat (limited to 'test/world_wide_library.py')
-rw-r--r--test/world_wide_library.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/world_wide_library.py b/test/world_wide_library.py
index 4865b0a..f66a6d5 100644
--- a/test/world_wide_library.py
+++ b/test/world_wide_library.py
@@ -100,6 +100,9 @@ catalog = {
'https://gotmyowndoma.in/index.html':
(200, {}, here / 'data' / 'pages' / 'gotmyowndomain_https.html'),
+ 'https://gotmyowndoma.in/scripts_to_block_1.html':
+ (200, {}, here / 'data' / 'pages' / 'scripts_to_block_1.html'),
+
'https://serve.scrip.ts/': serve_script,
'https://site.with.scripts.block.ed':