zulip/zerver/tests
Vishnu Ks 123bcea518 management: Don't use sys.exit(1).
Using sys.exit in a management command makes it impossible
to unit test the code in question.  The correct approach to do the same
thing in Django management commands is to raise CommandError.

Followup of b570c0dafa
2019-05-03 14:20:39 -07:00
..
fixtures bugdown: Fix double processed emoji tags inside inline tags. 2019-05-01 17:03:15 -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
test_audit_log.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_auth_backends.py lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -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 lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -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 lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
test_decorators.py webhooks: Remove the legacy GitHub integration. 2019-04-27 15:13:44 -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 test_email_notifications: Fix a nondeterministic test. 2019-04-28 22:00:03 -07:00
test_embedded_bot_system.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_event_queue.py settings: Decouple enable_push_notifications_offline from PM setting. 2019-04-23 15:24:39 -07:00
test_events.py settings: Create an explicit invite_to_stream_policy setting. 2019-04-29 17:11:28 -07:00
test_external.py rate_limiter: Generalise some rate_limit_user code. 2019-05-01 12:54:32 -07:00
test_feedback.py
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 settings: NAME_CHANGES_DISABLED disables the name change button. 2019-05-03 12:58:51 -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 lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07:00
test_json_encoder_for_html.py
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 management: Don't use sys.exit(1). 2019-05-03 14:20:39 -07:00
test_mattermost_importer.py test_mattermost_importer: Fix buggy use of wrong paths. 2019-05-03 13:30:54 -07:00
test_message_edit_notifications.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_messages.py mirrors: Refactor create_mirrored_message_users to use new Exception. 2019-05-01 11:18:22 -07:00
test_middleware.py html_to_text: Add delimiters between text from different elements. 2019-05-01 17:35:20 -07: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 lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07: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 tests: Fix bad use of mock local variable name. 2019-04-25 15:28:10 -07:00
test_queue.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_queue_worker.py rate_limiter: Move email_mirror limiter to use rate_limit_entity. 2019-05-01 12:54:32 -07:00
test_reactions.py zerver/tests: Remove unused imports. 2019-02-02 17:43:03 -08:00
test_realm.py settings: Create an explicit invite_to_stream_policy setting. 2019-04-29 17:11:28 -07: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_export.py public_export: Add backend API endpoint for triggering export. 2019-04-26 17:24:29 -07: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 settings: Add AVATAR_CHANGES_DISABLED server setting. 2019-05-03 12:58:51 -07: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 lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07: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 settings: Create an explicit invite_to_stream_policy setting. 2019-04-29 17:11:28 -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 lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -07: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
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 realm: Add setting to disable avatar changes. 2019-05-03 12:52:43 -07:00
test_urls.py public_export: Add backend API endpoint for triggering export. 2019-04-26 17:24:29 -07: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 lint: Fix code that evaded our lint checks for string % non-tuple. 2019-04-23 15:21:37 -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