zulip/zerver/tests
Aman Agrawal 3f42d15168 move_topic_to_stream: Delete UserMessage for new stream unsubs.
For users who are unsubscribed from the new stream but are in
the old stream, we delete the UserMessage.

We send the delete_message event only to guest users,
who have completely lost asses to the moved messages, for other
users we send the normal update_message event which moves
the messages to the new unsubed stream which
otherwise would look broken to the
user without reloading to the webpage.
2020-07-01 14:42:01 -07:00
..
fixtures refactor: Rename bugdown to backend_markdown. 2020-06-29 15:03:20 -07:00
images emoji: Only resize custom emoji that need it. 2019-01-29 10:33:50 -08:00
__init__.py
test_alert_words.py python: Sort imports with isort. 2020-06-11 16:45:32 -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 python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_auth_backends.py tests: Refine external_authentication_methods. 2020-06-26 17:00:30 -07:00
test_bots.py python: Manually convert more percent-formatting to f-strings. 2020-06-14 23:27:22 -07:00
test_cache.py cache: Fix type: ignore issues. 2020-07-01 10:51:15 -07:00
test_camo.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_compatibility.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_create_video_call.py calls: Add Big Blue Button as a Video Call Provider. 2020-06-22 16:19:07 -07:00
test_custom_profile_data.py refactor: Rename remaining bugdown_convert to markdown_convert. 2020-06-29 15:03:20 -07:00
test_decorators.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_digest.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_docs.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07: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 python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_email_mirror.py email-mirror-postfix: Handle 8-bit messages correctly. 2020-06-14 20:24:06 -07:00
test_email_notifications.py emails: Add a custom header specifying the organization when possible. 2020-06-28 13:33:02 -07:00
test_embedded_bot_system.py test_embedded_bot_system: Replace type: ignore annotations with an assert. 2020-06-23 11:29:54 -07:00
test_event_queue.py pointer tests: Use restart for test_collapse_event. 2020-06-26 10:02:37 -07:00
test_event_system.py tests: Extract test_event_system.py. 2020-06-29 07:55:11 -04:00
test_events.py tests: Remove slow tests detection. 2020-06-30 23:34:53 -07:00
test_external.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_gitter_importer.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_hipchat_importer.py test_hipchat_importer: Fix a type: ignore issue. 2020-06-30 18:58:23 -07:00
test_home.py tests: Remove slow tests detection. 2020-06-30 23:34:53 -07:00
test_hotspots.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_i18n.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_import_export.py tests: Remove slow tests detection. 2020-06-30 23:34:53 -07:00
test_integrations.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_integrations_dev_panel.py python: Sort imports with isort. 2020-06-11 16:45:32 -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 refactor: Rename zerver.lib.bugdown to zerver.lib.markdown . 2020-06-26 17:08:37 -07:00
test_logging_handlers.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_management_commands.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_markdown.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_mattermost_importer.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_message_edit_notifications.py push_notif: Don't clear notif if stream notif enabled. 2020-06-28 11:51:50 -07:00
test_messages.py move_topic_to_stream: Delete UserMessage for new stream unsubs. 2020-07-01 14:42:01 -07:00
test_middleware.py refactor: Rename bugdown words to markdown in stats related functions. 2020-06-26 17:20:40 -07:00
test_migrations.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_muting.py mypy: Use tuples for muted_topics. 2020-06-24 15:01:57 -07:00
test_narrow.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_new_users.py python: Convert more percent formatting to Python 3.6 f-strings. 2020-06-14 23:27:22 -07:00
test_onboarding.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_openapi.py openapi: Use third-party validator for schema validation. 2020-07-01 11:21:41 -07:00
test_outgoing_webhook_interfaces.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_outgoing_webhook_system.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_populate_db.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_presence.py test_presence: Switch data setup from pointer to message flags. 2020-06-27 16:44:38 -07:00
test_push_notifications.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_queue.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_queue_worker.py logging: Use logging.exception and exc_info for unexpected exceptions. 2020-06-14 23:27:22 -07:00
test_rate_limiter.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_reactions.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_realm.py tests: Remove slow tests detection. 2020-06-30 23:34:53 -07:00
test_realm_domains.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_realm_emoji.py python: Convert percent formatting to .format for translated strings. 2020-06-15 16:24:46 -07:00
test_realm_export.py python: Manually convert more percent-formatting to f-strings. 2020-06-14 23:27:22 -07:00
test_realm_filters.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_redis_utils.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_report.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_retention.py retention: Add restore_retention_policy_deletions_for_stream function. 2020-06-24 10:40:38 -07:00
test_service_bot_system.py test_service_bot_system: Fix type: ignore issues. 2020-06-30 18:58:23 -07:00
test_sessions.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_settings.py settings: Add automatic theme detection feature. 2020-06-21 01:09:01 -07:00
test_signup.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_slack_importer.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_slack_message_conversion.py tests: Remove slow tests detection. 2020-06-30 23:34:53 -07:00
test_soft_deactivation.py tests: Use /some/random/endpoint in a few places. 2020-06-27 16:39:38 -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 18n: Cleanup strings to be translated in add_subscriptions_backend. 2020-07-01 11:03:29 -07:00
test_templates.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_thumbnail.py refactor: Rename remaining bugdown word to markdown in .py files. 2020-06-29 15:03:20 -07:00
test_timestamp.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_tornado.py tests: Avoid unchecked casts. 2020-06-22 17:18:19 -07:00
test_transfer.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_tutorial.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_type_debug.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_typing.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_unread.py tests: Move GetUnreadMsgsTest. 2020-06-29 07:55:11 -04:00
test_upload.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_urls.py tests: Make all tests inherit ZulipTestCase. 2020-07-01 10:48:12 -07:00
test_user_groups.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_user_status.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_users.py pointer: Remove pointer from API and page_params. 2020-06-27 16:44:38 -07:00
test_webhooks_common.py decorator: Fix type of signature-changing decorators. 2020-06-23 11:29:54 -07:00
test_widgets.py widgets: Make type checks more explicit. 2020-06-25 13:52:59 -07:00
test_zcommand.py settings: Add automatic theme detection feature. 2020-06-21 01:09:01 -07:00
test_zephyr.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00