zulip/zerver/tests
Dinesh dc90d54b08 auth: Add Sign in with Apple support.
This implementation overrides some of PSA's internal backend
functions to handle `state` value with redis as the standard
way doesn't work because of apple sending required details
in the form of POST request.

Includes a mixin test class that'll be useful for testing
Native auth flow.

Thanks to Mateusz Mandera for the idea of using redis and
other important work on this.

Documentation rewritten by tabbott.

Co-authored-by: Mateusz Mandera <mateusz.mandera@zulip.com>
2020-06-09 17:29:35 -07:00
..
fixtures auth: Add Sign in with Apple support. 2020-06-09 17:29:35 -07:00
images emoji: Only resize custom emoji that need it. 2019-01-29 10:33:50 -08:00
__init__.py Fix missing zerver/tests/__init__.py. 2016-04-11 22:34:22 -07:00
test_alert_words.py python: Further pyupgrade changes. 2020-05-26 11:43:40 -07:00
test_archive.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_attachments.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_audit_log.py actions: Modify do_change_user_role for realm owner. 2020-05-27 15:52:39 -07:00
test_auth_backends.py auth: Add Sign in with Apple support. 2020-06-09 17:29:35 -07:00
test_bots.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_bugdown.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_cache.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_camo.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_compatibility.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_create_video_call.py compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
test_custom_profile_data.py docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
test_decorators.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_digest.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_docs.py portico: Remove mystery hunt landing page. 2020-06-08 18:10:45 -07:00
test_email_change.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_email_log.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_email_mirror.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_email_notifications.py docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
test_embedded_bot_system.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_event_queue.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_events.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_external.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_gitter_importer.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_hipchat_importer.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
test_home.py page_params: Add community_topic_editing_limit_seconds. 2020-06-09 14:40:12 -07:00
test_hotspots.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_i18n.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_import_export.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_integrations_dev_panel.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_integrations.py tools: Use the correct logo path to generate bot avatar. 2020-06-01 18:08:23 -07:00
test_internet.py tests: Replace httpretty with responses. 2020-01-22 11:56:15 -08:00
test_legacy_subject.py tests: Limit email-based logins. 2020-03-11 17:10:22 -07:00
test_link_embed.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_logging_handlers.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_management_commands.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_mattermost_importer.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
test_message_edit_notifications.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_messages.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_middleware.py tests: Avoid deprecated TestCase method aliases. 2020-06-04 14:15:52 -07:00
test_migrations.py test_migrations: Disable migrations test. 2019-05-12 22:06:17 -07:00
test_muting.py models: Set a timezone on the MutedTopic.date_muted default. 2020-06-05 09:34:17 -07:00
test_narrow.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_new_users.py tests: Use email/delivery_email more explicitly. 2020-03-19 16:04:03 -07:00
test_onboarding.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_openapi.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_outgoing_webhook_interfaces.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_outgoing_webhook_system.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_populate_db.py models: Migration of Message.pub_date to date_sent, part 2. 2019-10-05 19:01:34 -07:00
test_presence.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_push_notifications.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_queue_worker.py queue: Fix types to reflect that Pika channels transmit bytes. 2020-06-07 11:09:24 -07:00
test_queue.py queue: Fix types to reflect that Pika channels transmit bytes. 2020-06-07 11:09:24 -07:00
test_rate_limiter.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_reactions.py test_reactions: Cache stores reactions data after formatting. 2020-05-24 17:03:30 -07:00
test_realm_domains.py actions: Merge do_change_is_admin and do_change_is_guest. 2020-05-25 16:17:10 -07:00
test_realm_emoji.py api: Simplify format of realm_emoji author data. 2020-05-31 17:44:50 -07:00
test_realm_export.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_realm_filters.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_realm.py compose: Rewrite Zoom video call integration to use OAuth. 2020-06-03 16:39:12 -07:00
test_redis_utils.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_report.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_retention.py retention: Pass optional realm argument to move_messages_to_archive. 2020-05-16 14:46:56 -07:00
test_service_bot_system.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_sessions.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_settings.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_signup.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_slack_importer.py slack_import: Map slack owners to zulip realm owners. 2020-06-08 16:22:54 -07:00
test_slack_message_conversion.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
test_soft_deactivation.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_subdomains.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_submessage.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_subs.py docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
test_templates.py requirements: Upgrade Python-Markdown from 3.1.1 to 3.2.1. 2020-04-18 13:09:51 -07:00
test_thumbnail.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_timestamp.py timezone: Use standard library datetime.timezone.utc consistently. 2020-06-05 09:34:17 -07:00
test_tornado.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_transfer.py requirements: Upgrade boto to boto3. 2020-05-26 23:18:07 -07:00
test_tutorial.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_type_debug.py cleanup: Delete leading newlines. 2019-08-06 23:29:11 -07:00
test_typing.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
test_unread.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_upload.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_urls.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_user_groups.py python: Convert "".format to Python 3.6 f-strings. 2020-06-08 15:31:20 -07:00
test_user_status.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
test_users.py docs: Update URLs to use https://zulip.com. 2020-06-08 18:10:45 -07:00
test_webhooks_common.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00
test_widgets.py python: Convert assignment type annotations to Python 3.6 style. 2020-04-22 11:02:32 -07:00
test_zcommand.py python: Modernize legacy Python 2 syntax with pyupgrade. 2020-04-09 16:43:22 -07:00
test_zephyr.py requirements: Drop direct dependency on mock. 2020-05-26 11:40:42 -07:00