zulip/zerver/tests
Mateusz Mandera 4e8b087c82 rate_limiter: Fix flakiness of tests in test_external.
I noticed RateLimitTests.test_hit_ratelimits fails when run as an
individual test, but never when run after other tests. That's due to the
first API request in a run of tests taking a long time, as detailed in
the comment on the change to the setUp method.
2020-08-24 16:22:04 -07:00
..
fixtures docs: Fix spelling errors caught by codespell. 2020-08-11 10:23:06 -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: Replace ujson with orjson. 2020-08-11 10:55:12 -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: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_auth_backends.py test_auth_backends: Remove mock.patch('logging.warning'). 2020-08-11 16:24:51 -07:00
test_bots.py api: Return 'user_id' in 'POST /users' response. 2020-08-11 16:40:12 -07:00
test_cache.py test_cache: Use assertLogs to avoid spam in test-backend output. 2020-07-26 16:14:17 -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 python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_decorators.py rate_limit: Improve dummy request objects in RateLimitTestCase. 2020-08-24 16:22:04 -07:00
test_digest.py Revert "digest: Support digest of web public streams for guest users." 2020-07-29 21:05:59 -07:00
test_docs.py meta tags: Use open graph titles/descriptions. 2020-08-14 10:58:18 -07:00
test_drafts.py python: Replace ujson with orjson. 2020-08-11 10:55: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 python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_email_notifications.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_embedded_bot_system.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_event_queue.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_event_system.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_events.py test_events: Fix loop structure in settings test. 2020-08-17 13:00:47 -04:00
test_external.py rate_limiter: Fix flakiness of tests in test_external. 2020-08-24 16:22:04 -07:00
test_gitter_importer.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -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 python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_hotspots.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_i18n.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_import_export.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_integrations.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_integrations_dev_panel.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -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: Only extract img tags with an `src`. 2020-08-18 14:26:21 -04:00
test_logging_handlers.py Error reporting emails: Indicate user role. 2020-08-03 13:35:51 -07:00
test_management_commands.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_markdown.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_mattermost_importer.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_message_dict.py docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
test_message_edit.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_message_edit_notifications.py push_notifications: Disable badge counts. 2020-07-15 22:19:53 -07:00
test_message_fetch.py message_fetch: Allow access to web-public msgs for unauth users. 2020-08-12 16:39:02 -07:00
test_message_flags.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_message_send.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_message_topics.py tests: Extract test_message_topics.py for topic tests. 2020-07-06 16:36:36 -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 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_mirror_users.py tests: Move test_create_mirror_user_despite_race to test_mirror_users.py. 2020-07-06 16:36:36 -07:00
test_muting.py mypy: Use tuples for muted_topics. 2020-06-24 15:01:57 -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 reasonable variable names. 2020-08-12 16:11:29 -07:00
test_outgoing_webhook_interfaces.py api: Remove (sender_)short_name from message APIs. 2020-07-17 11:15:14 -07:00
test_outgoing_webhook_system.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -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 python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_queue.py test_queue: Use assertLogs to verify warning in test_queue_error_json. 2020-07-27 11:02:17 -07:00
test_queue_worker.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_rate_limiter.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
test_reactions.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_realm.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_realm_domains.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_realm_emoji.py database: Remove short_name from UserProfile. 2020-07-17 11:15:15 -07:00
test_realm_export.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -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: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_retention.py docs: Fix spelling errors caught by codespell. 2020-08-11 10:23:06 -07:00
test_service_bot_system.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_sessions.py test_sessions: Use assertLogs to avoid spam in test-backend output. 2020-07-27 11:02:17 -07:00
test_settings.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_signup.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_slack_importer.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_slack_message_conversion.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_soft_deactivation.py tests: User assertLogs to verify info logs while soft deactivation. 2020-07-27 11:02:17 -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 streams: Allow stream admin to update and deactivate streams. 2020-08-12 17:02:01 -07:00
test_templates.py docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
test_thumbnail.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_timestamp.py timestamp: Remove datetime_to_precise_timestamp for datetime.timestamp. 2020-07-31 22:10:14 -07:00
test_tornado.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_transfer.py tests: Add an explicit order_by to prevent flakes. 2020-08-18 11:15:35 -04: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 attachments: Add is_web_public field. 2020-08-12 17:26:03 -07:00
test_urls.py message_fetch: Allow access to web-public msgs for unauth users. 2020-08-12 16:39:02 -07:00
test_user_groups.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_user_status.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_users.py api: Return 'user_id' in 'POST /users' response. 2020-08-11 16:40:12 -07:00
test_webhooks_common.py decorator: Fix type of signature-changing decorators. 2020-06-23 11:29:54 -07:00
test_widgets.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00
test_zcommand.py settings: Add automatic theme detection feature. 2020-06-21 01:09:01 -07:00
test_zephyr.py python: Replace ujson with orjson. 2020-08-11 10:55:12 -07:00