zulip/zerver/tests
Mateusz Mandera fcc8debc3a users: Use realm.host in dummy user addresses without email visibility.
By moving the relevant logic from realm.get_bot_domain to
get_fake_email_domain we will make realm.host be used (if possible) for
dummy user addresses. That is, instead of user11@zulipchat.com, the
address will become user11@subdomain.zulipchat.com.
2021-01-21 13:04:38 -08:00
..
fixtures markdown: Fix flickering of embedded link inside Italic. 2020-11-06 10:09:15 -08:00
images
__init__.py
test_alert_words.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_archive.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_attachments.py models: Change attachment.size to not be nullable. 2020-06-20 13:15:02 -07:00
test_audit_log.py import: Reuse get_last_message_id() helper. 2020-10-13 11:28:17 -07:00
test_auth_backends.py auth: Handle the case of invalid subdomain at various points. 2021-01-11 22:29:50 -08:00
test_bots.py users: Use realm.host in dummy user addresses without email visibility. 2021-01-21 13:04:38 -08:00
test_cache.py models: Rename is_api_super_user to can_forge_sender, 2020-12-21 13:15:39 -08:00
test_camo.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_compatibility.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_create_video_call.py python: Pass query parameters as a dict when making GET requests. 2020-10-27 13:47:02 -07:00
test_custom_profile_data.py validator: Reject ISO 8601 dates missing leading zeros. 2020-12-15 16:36:50 -08:00
test_data_types.py data_types: Generalize StringDictType. 2020-09-25 11:43:19 -07:00
test_decorators.py logging: Set decorator tests to use assertLogs. 2020-12-15 11:46:25 -08:00
test_digest.py email digests: Remove handle_digest_email shim. 2021-01-17 11:28:30 -08:00
test_docs.py docs: Remove HipChat migration guide. 2020-12-23 15:43:13 +05:30
test_drafts.py message: Bundle message stripping, validation, and truncation. 2020-12-18 17:44:13 -08:00
test_email_change.py emails: Add a custom header specifying the organization when possible. 2020-06-28 13:33:02 -07:00
test_email_log.py logging: replace mock.patch() for logging with assertLogs() 2020-10-29 15:37:45 -07:00
test_email_mirror.py python: Use universal_newlines to get str from subprocess. 2020-10-30 11:36:38 -07:00
test_email_notifications.py test: Use variable instead of hard coded value. 2020-09-02 17:58:19 -07:00
test_embedded_bot_system.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_event_queue.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_event_system.py refactor: Clean up args for fetch_initial_state_data. 2021-01-17 12:31:04 -05:00
test_events.py event tests: Cover do_update_user_status better. 2021-01-20 13:17:32 -08:00
test_external.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_github.py apps: Use GitHub API for generating the web app download link. 2020-10-28 23:04:14 -07:00
test_gitter_importer.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_home.py home: Allow logged out user through home. 2020-11-02 17:07:12 -08:00
test_hotspots.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_i18n.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_import_export.py python: Close opened files. 2020-10-26 12:31:30 -07:00
test_integrations.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_integrations_dev_panel.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_internet.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_legacy_subject.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_link_embed.py url_preview: Allow Beautiful Soup to get the charset from <meta>. 2020-12-15 11:30:57 -08:00
test_logging_handlers.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_management_commands.py export: Only include real, active humans in the displayed count. 2020-10-28 18:31:06 -07:00
test_markdown.py test_markdown: Construct FencedBlockPreprocessor with a real Markdown. 2020-11-10 15:54:28 -08:00
test_mattermost_importer.py test_mattermost_importer: Fix test for admins-to-owners change. 2020-12-17 18:59:08 -08:00
test_message_dict.py python: Pass query parameters as a dict when making GET requests. 2020-10-27 13:47:02 -07:00
test_message_edit.py topic_edit: Store edit history in all the message affected. 2021-01-04 18:18:05 -08:00
test_message_edit_notifications.py tests: Check JSON serializability of test data with mock_queue_publish. 2020-09-03 17:34:31 -07:00
test_message_fetch.py anchor_value: Fix parsing of large anchor values. 2020-12-02 11:00:22 -08:00
test_message_flags.py python: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
test_message_send.py models: Rename is_api_super_user to can_forge_sender, 2020-12-21 13:15:39 -08:00
test_message_topics.py topic_history: Allow anonymous access in web-public streams. 2020-09-04 10:17:56 -07:00
test_messages.py tests: Move test_near_pm_message_url to test_message_fetch.py. 2020-07-08 14:00:05 -07:00
test_middleware.py python: Skip unnecessary decode before BeautifulSoup parsing. 2020-10-30 11:36:38 -07:00
test_migrations.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_mirror_users.py python: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
test_muting.py mypy: Use tuples for muted_topics. 2020-06-24 15:01:57 -07:00
test_new_users.py timezone: Remove get_timezone wrapper. 2020-10-27 13:42:54 -07:00
test_onboarding.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_openapi.py openapi: Fix escaping in curl command generation. 2020-11-05 09:36:31 -08:00
test_outgoing_webhook_interfaces.py python: Rewrite dict() as {}. 2020-09-02 11:15:41 -07:00
test_outgoing_webhook_system.py python: Use requests.Response.text instead of decoding content. 2020-10-30 11:36:38 -07:00
test_populate_db.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_presence.py analytics: Specify exact end_time in realm summary query. 2020-12-22 16:44:31 -08:00
test_push_notifications.py logging: replace mock.patch() for logging with assertLogs() 2020-10-29 15:37:45 -07:00
test_queue.py queue: Drop register_json_consumer / json_drain_queue interface. 2020-10-11 14:19:42 -07:00
test_queue_worker.py worker: Remove SignupWorker and friends. 2021-01-17 11:16:35 -08:00
test_rate_limiter.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_reactions.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_realm.py change_subdomain: Create a deactivated realm on updating subdomain. 2021-01-07 14:15:22 -08:00
test_realm_domains.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_realm_emoji.py urls: Migrate re_path routes to path. 2020-09-12 14:29:26 -07:00
test_realm_export.py upload: Strip leading slash from deleted S3 export paths. 2020-09-13 20:59:09 -07:00
test_realm_filters.py linkifiers: Allow tildes in target URLs. 2020-09-21 21:04:02 -07:00
test_redis_utils.py python: Use standard secrets module to generate random tokens. 2020-09-09 15:52:57 -07:00
test_report.py python: Catch specific exceptions from subprocess. 2020-10-11 16:11:41 -07:00
test_retention.py python: Pre-fix a few spots for better Black formatting. 2020-09-03 17:51:09 -07:00
test_service_bot_system.py test_service_bot_system: Refactor mock.patch with assertLogs. 2020-09-12 10:59:36 -07:00
test_sessions.py home: Allow logged out user through home. 2020-11-02 17:07:12 -08:00
test_settings.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_signup.py registration: Re-use the redirect_to_email_login_url helper. 2021-01-13 11:28:32 -08:00
test_slack_importer.py models: Rename is_api_super_user to can_forge_sender, 2020-12-21 13:15:39 -08:00
test_slack_message_conversion.py python: Pre-fix a few spots for better Black formatting. 2020-09-03 17:51:09 -07:00
test_soft_deactivation.py docs: Fix more capitalization issues. 2020-10-23 11:46:55 -07:00
test_subdomains.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_submessage.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_subs.py models: Rename is_api_super_user to can_forge_sender, 2020-12-21 13:15:39 -08:00
test_templates.py docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
test_thumbnail.py python: Pass query parameters as a dict when making GET requests. 2020-10-27 13:47:02 -07:00
test_timestamp.py timestamp: Remove datetime_to_precise_timestamp for datetime.timestamp. 2020-07-31 22:10:14 -07:00
test_timezone.py users: Canonicalize the timezone identifier. 2020-10-27 13:42:54 -07:00
test_tornado.py tornado: Remove an unused port argument. 2020-09-18 15:13:40 -07:00
test_transfer.py python: Close opened files. 2020-10-26 12:31:30 -07:00
test_tutorial.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_type_debug.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_typing.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_upload.py python: Pass query parameters as a dict when making GET requests. 2020-10-27 13:47:02 -07:00
test_urls.py home: Allow logged out user through home. 2020-11-02 17:07:12 -08:00
test_user_groups.py logging: Remove unnecessary mock.patch() for logging. 2020-10-28 23:15:27 -07:00
test_user_status.py user_status: Fix bug with resetting away status. 2021-01-20 13:59:35 -05:00
test_users.py users: Use realm.host in dummy user addresses without email visibility. 2021-01-21 13:04:38 -08:00
test_webhooks_common.py webhooks: Rename api_key_only_webhook_view to webhook_view. 2020-09-10 17:47:21 -07:00
test_widgets.py widgets: Remove tictactoe example widget. 2020-11-03 14:46:39 -08:00
test_zcommand.py settings: Add automatic theme detection feature. 2020-06-21 01:09:01 -07:00
test_zephyr.py python: Catch specific exceptions from subprocess. 2020-10-11 16:11:41 -07:00