aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_android_shell.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_android_shell.py')
-rw-r--r--packages/meshbay-hub/tests/test_android_shell.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/packages/meshbay-hub/tests/test_android_shell.py b/packages/meshbay-hub/tests/test_android_shell.py
index cd5a36e..1049a5f 100644
--- a/packages/meshbay-hub/tests/test_android_shell.py
+++ b/packages/meshbay-hub/tests/test_android_shell.py
@@ -71,7 +71,6 @@ def test_the_policy_is_the_desktop_policy_sent_as_a_header():
body = text.split(start, 1)[1].split(end, 1)[0]
out = {}
for d in re.findall(r"[`\"]([a-z-]+(?: [^`\"]*)?)[`\"]", body):
- d = d.replace("${RECAPTCHA_SRC}", "$RECAPTCHA_SRC")
out[d.split()[0]] = d
return out
@@ -82,8 +81,6 @@ def test_the_policy_is_the_desktop_policy_sent_as_a_header():
assets = _read(SRC / "shell" / "UiAssets.kt")
assert '"Content-Security-Policy" to CSP' in assets
- recaptcha = 'RECAPTCHA_SRC = "https://www.google.com https://www.gstatic.com"'
- assert recaptcha in assets
markup = re.sub(r"<!--.*?-->", "", _read(CLIENT / "scripts" / "index.html"), flags=re.S)
assert "Content-Security-Policy" not in markup