zulip/zerver/tests
Tim Abbott ddf26a6ced test_events: Post-process state before comparisons in do_test.
This is important because upcoming features will include slightly more
complex logic in post_process_state that we'd ideally like to be
included in what this suite tests.

This requires a few related changes:

* A small change to post_process_state to sort the realm_users objects
  by user_id to ensure those data structures are stable.

* Improvements to the logic for checking if the initial state has
  changed to use match_states for better output.
2019-04-08 19:42:34 -07:00
..
fixtures import: Add tool for importing teams from mattermost. 2019-04-05 17:53:03 -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 zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_archive.py archives: Change the topic/<topic_name> code path to use topics prefix. 2018-07-14 10:39:35 +05:30
test_attachments.py lint: Prevent `self: Any` annotations. 2017-12-08 19:00:18 -08:00
test_audit_log.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_auth_backends.py models: Fix performance of supported_auth_backends with caching. 2019-03-17 15:14:05 -07:00
test_bots.py tests: Optimize a slow test in tests_bots.py. 2019-02-28 22:01:55 -08:00
test_bugdown.py markdown: Use common testcases for realmfilters in topics and messages. 2019-03-11 11:48:47 -07:00
test_cache.py tests: Add 100% test coverage to zerver/apps.py. 2018-05-14 10:36:10 -07:00
test_camo.py camo: Add endpoint to handle camo requests. 2019-01-04 10:27:04 -08:00
test_compatibility.py compatibility: Respond with HTTP 400 when no User-Agent header. 2018-12-10 15:04:34 -08:00
test_create_video_call.py zoom: Fix coverage of new zoom error handling code path. 2019-01-16 15:58:26 -08:00
test_custom_profile_data.py python: Remove unused imports. 2019-02-22 16:54:36 -08:00
test_decorators.py stream: Fix validator for stream colors. 2019-03-11 11:43:39 -07:00
test_digest.py digest: Directly fetch recipient ids from the DB. 2019-03-09 23:25:26 -08:00
test_docs.py auth: Use HTTP status 404 for invalid realms. 2019-03-14 13:50:09 -07:00
test_email_change.py emails: Remove newlines from translated strings in email templates. 2019-02-10 12:28:17 -08:00
test_email_log.py emails: Don't log emails while running test suite. 2018-10-11 15:12:08 -07:00
test_email_mirror.py email_mirror: Raise ZulipEmailForwardError if email pattern not recognised. 2019-03-21 15:25:57 -07:00
test_email_notifications.py settings: Rename "user avatar" to "profile picture" 2019-03-15 13:29:56 -07:00
test_embedded_bot_system.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_event_queue.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_events.py test_events: Post-process state before comparisons in do_test. 2019-04-08 19:42:34 -07:00
test_external.py rate_limit tests: Cover RateLimiterLockingException case in rate_limit_user. 2019-03-18 11:16:58 -07:00
test_feedback.py Add basic test for FeedbackBot. 2018-03-04 13:31:33 -08:00
test_gitter_importer.py test_classes: Move make_output_dir to test_classes. 2019-04-04 13:51:52 -07:00
test_hipchat_importer.py hipchat: Limit messages in slim mode. 2018-11-26 16:37:30 -08:00
test_home.py mobile: Add support for recent_private_conversations API. 2019-04-04 16:47:43 -07:00
test_hotspots.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_i18n.py notifications: Rename notifications.py to email_notifications.py. 2019-03-15 11:02:17 -07:00
test_import_export.py test_classes: Move rm_tree to test_classes. 2019-04-04 13:51:52 -07:00
test_json_encoder_for_html.py zerver: Remove simplejson dependency. 2017-11-21 21:51:48 -08:00
test_legacy_subject.py Add alias support to REQ helpers for subject/topic. 2018-11-12 15:47:11 -08:00
test_link_embed.py tests: Fix test broken by recent url preview change. 2019-02-05 13:45:00 -08:00
test_logging_handlers.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_management_commands.py import: Add tool for importing teams from mattermost. 2019-04-05 17:53:03 -07:00
test_mattermost_importer.py import: Add tool for importing teams from mattermost. 2019-04-05 17:53:03 -07:00
test_message_edit_notifications.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_messages.py message_edits: Notify subscribers when a message is changed. 2019-04-05 17:06:24 -07:00
test_middleware.py open graph: Remove extraneous spaces from descriptions. 2019-02-11 12:05:19 -08:00
test_migrations.py migration_tests: Document the migration test framework. 2018-05-21 09:59:55 -07:00
test_muting.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_narrow.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_new_users.py markdown: Change syntax of silent mentions ( _@person -> @_person). 2019-02-20 10:41:42 -08:00
test_onboarding.py create_realm_internal_bots: Refactor to extract main op as a function. 2018-05-23 11:53:22 +05:30
test_openapi.py api docs: Load the OpenAPI file only when needed. 2018-08-08 09:00:28 -07:00
test_outgoing_webhook_interfaces.py test_outgoing_webhook_interfaces: Don’t mock an unused import. 2019-02-02 17:28:11 -08:00
test_outgoing_webhook_system.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_presence.py context_processors: Extract keys from zulip_default_context. 2019-03-25 14:05:36 -07:00
test_push_notifications.py push notif: Send a batch of message IDs in one `remove` payload. 2019-02-26 16:41:54 -08:00
test_queue.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_queue_worker.py email_mirror: Move some helper functions out of actions.py. 2019-03-21 15:25:57 -07:00
test_reactions.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_realm.py realm: Restrict upload quota according to plan. 2019-03-04 18:46:13 -08:00
test_realm_domains.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_realm_emoji.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_realm_filters.py docs: Advertise arbitrary org GitHub patterns for linkifiers. 2018-12-17 12:58:52 -08:00
test_report.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_retention.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_service_bot_system.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_sessions.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_settings.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_signup.py onboarding: Update initial messages and stream descriptions. 2019-03-21 12:34:24 -07:00
test_slack_importer.py test_classes: Move rm_tree to test_classes. 2019-04-04 13:51:52 -07:00
test_slack_message_conversion.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_soft_deactivation.py soft-deactivation: Run catch-up when "auto" deactivate is run. 2019-03-14 11:53:15 -07:00
test_subdomains.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_submessage.py events: Pass a realm object into send_event. 2018-11-02 16:47:39 -07:00
test_subs.py refactoring: Move set_default_streams into do_create_realm. 2019-03-21 12:33:19 -07:00
test_templates.py help: Add tab styling to untabbed instructions as well. 2019-02-11 12:05:19 -08:00
test_thumbnail.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_timestamp.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_tornado.py tornado: Remove unused imports. 2019-02-02 17:33:13 -08:00
test_transfer.py management: Add tooling for transfering local uploads to s3. 2019-02-14 14:31:46 -08:00
test_tutorial.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_type_debug.py mypy: Remove some now-unnecessary type: ignores. 2018-03-28 10:39:05 -07:00
test_typing.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_unread.py python: Remove unused imports. 2019-02-22 16:54:36 -08:00
test_upload.py settings: Rename "user avatar" to "profile picture" 2019-03-15 13:29:56 -07:00
test_urls.py docs: Fix 500s with super long fake /help/ article URLs. 2018-12-03 14:43:45 -08:00
test_user_groups.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_user_status.py user status: Add "status_text" support in the backend. 2019-01-24 09:46:35 -08:00
test_users.py deliver_email: Refactor to extract email delivery. 2019-03-20 14:52:05 -07:00
test_webhooks_common.py tools: Upgrade Pycodestyle and fix new linter errors. 2019-01-31 12:21:41 -08:00
test_widgets.py widgets: Remove ALLOW_SUB_MESSAGES flag and enable widgets by default. 2019-01-29 09:34:14 -08:00
test_zcommand.py zcommand: Raise error when command doesn't begin with a slash. 2018-07-01 20:32:36 -04:00
test_zephyr.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
tests.py