zulip/zerver/tests
Gaurav Pandey d4219da254 api: Fix encoding of strings in realm domain endpoint.
* Remove unnecessary json_validator for string parameters.
* Update frontend to pass right parameters.

Fixes part of #18035.
2021-05-07 14:06:54 -07:00
..
fixtures markdown: Don’t apply further Markdown processing to KaTeX output. 2021-05-01 15:43:35 -07:00
images
__init__.py
test_alert_words.py alert_words: Fix highlighting of adjacent alert words. 2021-04-28 07:54:50 -07:00
test_archive.py refactor: Make acting_user a mandatory kwarg for do_deactivate_stream. 2021-04-02 14:44:41 -07:00
test_attachments.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_audit_log.py refactor: Make acting_user a mandatory kwarg for do_deactivate_realm. 2021-04-02 14:44:41 -07:00
test_auth_backends.py tests: Change password hashers used in tests that set them. 2021-05-07 09:10:45 -07:00
test_bots.py refactor: Make acting_user a mandatory kwarg for do_deactivate_user. 2021-03-29 15:51:45 -07:00
test_cache.py tests: Eliminate use of get_user_profile_by_email in tests. 2021-03-11 20:30:57 -08:00
test_compatibility.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_context_processors.py UI: Add Zulip version in gear menu. 2021-04-30 17:58:08 -07:00
test_create_video_call.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_custom_profile_data.py users: Add role field to user objects returned by format_user_row. 2021-04-29 15:13:50 -07:00
test_data_types.py data_types: Generalize StringDictType. 2020-09-25 11:43:19 -07:00
test_decorators.py validators: Make to_positive_or_allowed_int an optional argument. 2021-05-07 09:37:41 -07:00
test_digest.py refactor: Make acting_user a mandatory kwarg for do_create_user. 2021-02-25 17:58:00 -08:00
test_docs.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00
test_drafts.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
test_email_change.py test_email_change: User create_confirmation_link for url. 2021-05-04 10:48:51 -07:00
test_email_log.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_email_mirror.py emails: Rename "missed message email" to "message notification email". 2021-04-21 10:10:54 -07:00
test_email_notifications.py send_custom_email: Add dry-run flag to verify recipients and email. 2021-04-26 17:31:34 -07:00
test_embedded_bot_system.py logging: use assertEqual to assert logging output. 2021-03-25 01:10:03 -07:00
test_event_queue.py refactor: Make acting_user a mandatory kwarg for do_change_subscription_property. 2021-04-08 17:50:10 -07:00
test_event_system.py presence: Disable live presence updates in larger realms. 2021-05-05 08:50:42 -07:00
test_events.py settings: Add moderators option for wildcard_mention_policy. 2021-05-03 12:12:01 -07:00
test_external.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_github.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_gitter_importer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_home.py events: Add 'is_moderator' field to the page_params object sent to clients. 2021-04-29 15:18:49 -07:00
test_hotspots.py api: Fix encoding of strings in hotspot endpoint. 2021-05-07 11:45:25 -07:00
test_i18n.py templates: Remove context argument from {{#tr}} block helper. 2021-04-13 18:59:46 -07:00
test_import_export.py test users: Add an escape char to a test username. 2021-04-13 11:42:06 -07:00
test_integrations.py tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
test_integrations_dev_panel.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_internet.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_legacy_subject.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_link_embed.py markdown: Rewrite all external images to use Camo. 2021-04-30 10:36:16 -07:00
test_logging_handlers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_management_commands.py send_custom_email: Improve printing of outgoing emails. 2021-04-27 21:36:17 -07:00
test_markdown.py markdown: Rewrite all external images to use Camo. 2021-04-30 10:36:16 -07:00
test_mattermost_importer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_message_dict.py CVE-2021-30478: Prevent API super users from forging messages to other organizations. 2021-04-14 12:37:34 -07:00
test_message_edit.py widgets: Prevent edits to widgets. 2021-04-30 09:55:25 -07:00
test_message_edit_notifications.py emails: Rename "missed message email" to "message notification email". 2021-04-21 10:10:54 -07:00
test_message_fetch.py refactor: Make acting_user a mandatory kwarg for do_deactivate_user. 2021-03-29 15:51:45 -07:00
test_message_flags.py message: Record whether unread_msgs data is truncated. 2021-03-21 19:48:13 -07:00
test_message_send.py settings: Add moderators option for wildcard_mention_policy. 2021-05-03 12:12:01 -07:00
test_message_topics.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_messages.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_middleware.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_migrations.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_mirror_users.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_muting_topics.py refactor: Rename backend muting tests to be specific. 2021-04-05 18:04:31 -07:00
test_muting_users.py mute user: Mark as read old messages immediately. 2021-04-13 09:08:47 -07:00
test_new_users.py test users: Add an escape char to a test username. 2021-04-13 11:42:06 -07:00
test_onboarding.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_openapi.py mypy: Don’t use Iterable for values iterated multiple times. 2021-04-29 16:06:17 -07:00
test_outgoing_http.py outgoing_http: Provide a convenient way to set default headers. 2021-05-07 08:39:36 -07:00
test_outgoing_webhook_interfaces.py outgoing_webhook: Improve invalid json handling when parsing response. 2021-04-26 09:32:35 -07:00
test_outgoing_webhook_system.py outgoing_http: Put the X-Smokescreen-Role in the proxy headers. 2021-05-07 08:39:36 -07:00
test_populate_db.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
test_presence.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00
test_push_notifications.py push_notifications: Give full stack information on an exception. 2021-04-30 14:03:52 -07:00
test_queue.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_queue_worker.py emails: Transform SMTPException into EmailNotDeliveredException. 2021-05-05 20:16:11 -07:00
test_rate_limiter.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_reactions.py docs: Fix spelling errors caught by codespell. 2021-04-26 09:31:08 -07:00
test_realm.py settings: Add moderators option for wildcard_mention_policy. 2021-05-03 12:12:01 -07:00
test_realm_domains.py api: Fix encoding of strings in realm domain endpoint. 2021-05-07 14:06:54 -07:00
test_realm_emoji.py refactor: Make acting_user a mandatory kwarg for do_create_user. 2021-02-25 17:58:00 -08:00
test_realm_export.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_realm_linkifiers.py linkifiers: Add an API to support the editing of linkifier. 2021-04-19 18:01:45 -07:00
test_realm_playgrounds.py playgrounds: Avoid json encoding each field in POST /realm/playgrounds. 2021-04-19 11:23:09 -07:00
test_redis_utils.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_report.py test_report: Avoid Any type. 2021-02-15 17:05:28 -08:00
test_retention.py refactor: Make acting_user a mandatory kwarg for do_set_realm_property. 2021-03-29 15:51:45 -07:00
test_send_email.py test_send_email: Shorten tests about build_email. 2021-05-05 20:16:11 -07:00
test_service_bot_system.py refactor: Make acting_user a mandatory kwarg for do_create_user. 2021-02-25 17:58:00 -08:00
test_sessions.py migrations: Subscription.is_user_active denormalization - step one. 2021-03-30 09:19:03 -07:00
test_settings.py display_settings: Allow user to set default_view. 2021-03-11 18:09:08 -08:00
test_signup.py tests: Change password hashers used in tests that set them. 2021-05-07 09:10:45 -07:00
test_slack_importer.py audit log: Create audit log when a realm is created. 2021-04-30 09:25:11 -07:00
test_slack_message_conversion.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_soft_deactivation.py test users: Add an escape char to a test username. 2021-04-13 11:42:06 -07:00
test_subdomains.py markdown: Rewrite all external images to use Camo. 2021-04-30 10:36:16 -07:00
test_submessage.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_subs.py api: Fix encoding of strings in default stream groups. 2021-05-07 14:06:37 -07:00
test_templates.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_thumbnail.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
test_timestamp.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_timezone.py docs: Fix spelling errors caught by codespell. 2021-04-26 09:31:08 -07:00
test_tornado.py tornado: Explicitly mark requests as varying by cookie. 2021-04-02 14:55:22 -07:00
test_transfer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_tutorial.py actions: Remove realm argument to internal_send_private_message. 2021-02-23 15:26:47 -08:00
test_type_debug.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_typing.py typing: Support sending stream/topic typing status. 2021-04-27 20:52:21 -07:00
test_upload.py upload: Refactor and add tests for ensure_avatar_image in upload.py. 2021-04-29 21:18:13 -07:00
test_urls.py api: Delete ancient fetch_google_client_id endpoint. 2021-04-08 06:10:39 -07:00
test_user_groups.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00
test_user_status.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_users.py registration: Encode source realm as an integer. 2021-05-02 11:12:49 -07:00
test_webhooks_common.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_widgets.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_zcommand.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_zephyr.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00