diff options
Diffstat (limited to 'packages/meshbay-hub/tests/test_android_shell.py')
| -rw-r--r-- | packages/meshbay-hub/tests/test_android_shell.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/meshbay-hub/tests/test_android_shell.py b/packages/meshbay-hub/tests/test_android_shell.py index 1049a5f..c68234d 100644 --- a/packages/meshbay-hub/tests/test_android_shell.py +++ b/packages/meshbay-hub/tests/test_android_shell.py @@ -62,6 +62,10 @@ def test_the_webview_loads_the_package_and_nothing_else(): assert "loadDataWithBaseURL" not in activity and "loadData(" not in activity # The hub never becomes the document origin; a link out leaves the app. assert "shouldOverrideUrlLoading" in activity and "openExternally" in activity + # The recovery screen's "e-mail it to myself" (§3.6) goes to a mail + # application, and only as a mail address: SENDTO, not a VIEW of anything. + assert 'url.scheme == "mailto") openMail(url)' in activity + assert "Intent(Intent.ACTION_SENDTO, url)" in activity def test_the_policy_is_the_desktop_policy_sent_as_a_header(): |