zulip/zerver/tests
Mateusz Mandera 76ff9b30b1 push_notifs: Log both user id and user uuid if we have them.
Previous behavior was logging only the uuid if it was provided by the
remote server, but that's insufficient, because the user may actually
have no devices registered with uuis and we (at the bouncer) end up
sending notifications to id-based registrations. Not having that id
logged makes it impossible to figure out what's going on.
2022-03-14 17:47:30 -07:00
..
fixtures docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
images upload: Fix resizing non-animated images. 2022-02-17 12:19:47 -08:00
__init__.py
test_alert_words.py tests: Fix unused message_id parameter in tests. 2022-02-21 08:52:33 -08:00
test_attachments.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_audit_log.py realm: Create RealmAuditLog entry for removing a realm domain. 2022-03-10 17:48:02 -08:00
test_auth_backends.py tests: Avoid use of Python internal __unittest_skip__ flag. 2022-03-07 16:26:37 -08:00
test_bots.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_cache.py bots: Pass realm to get_system_bot calls in test_cache.py. 2021-07-26 15:33:13 -07:00
test_compatibility.py python: Reformat with Black 22 (stable). 2022-02-18 18:03:13 -08:00
test_create_video_call.py integrations: Switch BigBlueButton over to SHA256. 2021-11-25 07:58:27 -08:00
test_custom_profile_data.py types: Fix declared type of custom profile field values. 2021-09-22 16:22:46 -07:00
test_data_types.py data_types: Generalize StringDictType. 2020-09-25 11:43:19 -07:00
test_decorators.py tests: Remove client parameter if test can use default User-Agent. 2022-02-24 12:57:18 -08:00
test_digest.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_docs.py portico: Create use cases index page. 2022-03-10 16:34:34 -08:00
test_drafts.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_email_change.py python: Reformat with Black 22 (stable). 2022-02-18 18:03:13 -08:00
test_email_log.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_email_mirror.py tests: Remove client parameter if test can use default User-Agent. 2022-02-24 12:57:18 -08:00
test_email_notifications.py tests: Remove client parameter if test can use default User-Agent. 2022-02-24 12:57:18 -08:00
test_embedded_bot_system.py tests: Ensure stream senders get a UserMessage row. 2021-12-10 09:40:04 -08:00
test_event_queue.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_event_system.py docs: Add missing space to compound verbs “back up”, “log in”, etc. 2022-02-07 19:20:54 -08:00
test_events.py test_events: Fix 'normalize' assuming subscription data is present. 2022-03-11 14:26:14 -08:00
test_example.py populate_db: Add timezones for some test users. 2022-02-22 11:14:58 -08:00
test_external.py tests: Remove client parameter if test can use default User-Agent. 2022-02-24 12:57:18 -08:00
test_github.py downloads: Serve desktop downloads from desktop-download.zulip.com. 2021-08-28 23:08:45 -07:00
test_gitter_importer.py tests: Consistently use assert_length helper. 2021-05-19 11:55:56 -07:00
test_home.py events: Remove some properties of user sent to spectators. 2022-02-22 10:36:08 -08:00
test_hotspots.py hotspots: Remove intro_reply hotspot. 2021-12-07 21:55:59 -08:00
test_i18n.py invite: Extend invite api for handling expiration duration. 2021-09-10 16:53:03 -07:00
test_import_export.py user_topic: Rename topic_mutes.py to user_topics.py. 2022-03-11 14:26:55 -08:00
test_integrations_dev_panel.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_integrations.py tests: Add a test for fixtures for non-webhook integrations. 2021-04-28 08:16:51 -07:00
test_internet.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_legacy_subject.py tests: Remove client parameter if test can use default User-Agent. 2022-02-24 12:57:18 -08:00
test_link_embed.py tests: Fix unused message_id parameter in tests. 2022-02-21 08:52:33 -08:00
test_logging_handlers.py typing: Fix function signatures with django-stubs. 2021-08-20 06:02:55 -07:00
test_management_commands.py python: Reformat with Black 22 (stable). 2022-02-18 18:03:13 -08:00
test_markdown.py tests: Fix unused message_id parameter in tests. 2022-02-21 08:52:33 -08:00
test_mattermost_importer.py tests: Verify emoji codes. 2021-12-06 13:22:47 -08:00
test_message_dict.py tests: Ensure stream senders get a UserMessage row. 2021-12-10 09:40:04 -08:00
test_message_edit_notifications.py push_notifications: Ensure notifications are on for the remove codepath. 2022-03-09 16:33:51 -08:00
test_message_edit.py api: Send full message in GET /messages/{message_id} response. 2022-03-11 10:25:22 -08:00
test_message_fetch.py user_topic: Rename topic_mutes.py to user_topics.py. 2022-03-11 14:26:55 -08:00
test_message_flags.py user_topic: Rename topic_mutes.py to user_topics.py. 2022-03-11 14:26:55 -08:00
test_message_send.py realm: Create RealmAuditLog entry while adding a new allowed domain. 2022-03-10 17:48:02 -08:00
test_message_topics.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_messages.py notifications: Calculate PMs/mentions settings like other settings. 2021-07-28 13:55:25 -07:00
test_middleware.py mypy: Add types-beautifulsoup4. 2022-01-23 23:39:40 -08:00
test_migrations.py tests: Mark test_migrations tests to be automatically skipped. 2022-03-07 15:33:29 -08:00
test_mirror_users.py tests: Migrate mocked Request to HostMockRequest. 2021-07-14 12:01:07 -07:00
test_muting_topics.py user_topic: Rename topic_mutes.py to user_topics.py. 2022-03-11 14:26:55 -08:00
test_muting_users.py tests: Fix unused message_id parameter in tests. 2022-02-21 08:52:33 -08:00
test_new_users.py test_new_users: Select test emails deterministically. 2022-02-11 18:09:43 -08:00
test_notification_data.py notifications: Don't enqueue notifications for bots. 2022-01-03 09:55:06 -08:00
test_onboarding.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_openapi.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_outgoing_http.py python: Replace requests.packages.urllib3 alias with urllib3. 2022-01-23 22:14:17 -08:00
test_outgoing_webhook_interfaces.py outgoing webhooks: Fix inconsistencies with Slack's API. 2021-09-23 11:19:20 -07:00
test_outgoing_webhook_system.py tests: Consistently use assert_length helper. 2021-05-19 11:55:56 -07:00
test_populate_db.py docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00
test_presence.py statistics: Remove unused seconds_usage_between function. 2021-08-19 01:51:37 -07:00
test_push_notifications.py push_notifs: Log both user id and user uuid if we have them. 2022-03-14 17:47:30 -07:00
test_queue_worker.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_queue.py test_queue_error_json: Acknowledge the received message. 2022-01-21 13:38:13 -08:00
test_rate_limiter.py tests: Avoid use of Python internal __unittest_skip__ flag. 2022-03-07 16:26:37 -08:00
test_reactions.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_realm_domains.py realm: Create RealmAuditLog entry while changing an allowed domain. 2022-03-10 17:48:02 -08:00
test_realm_emoji.py realm_emoji: Stop swallowing all exceptions from upload_emoji_image. 2022-02-17 12:19:47 -08:00
test_realm_export.py test_classes: Extract assert_streaming_content helper. 2022-01-21 13:37:26 -08:00
test_realm_linkifiers.py linkifiers: Support URL percent-encoded bytes. 2021-10-22 13:00:20 -07:00
test_realm_playgrounds.py models: Fix bug in unique_together condition on RealmPlayground. 2021-05-24 23:11:41 -07:00
test_realm.py settings: Add web-public streams beta subdomain list. 2022-03-10 18:37:01 -08:00
test_redis_utils.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_report.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_retention.py upload: Pass the target realm to create_attachment. 2022-01-27 17:23:44 -08:00
test_rocketchat_importer.py tests: Verify emoji codes. 2021-12-06 13:22:47 -08:00
test_scim.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_send_email.py send_email: Log error if EMAIL_HOST_USER is set without password. 2022-02-09 11:04:40 -08:00
test_service_bot_system.py tests: Consistently use assert_length helper. 2021-05-19 11:55:56 -07:00
test_sessions.py auth: Add login buttons for web public access. 2021-10-05 16:30:40 -07:00
test_settings.py CVE-2021-3967: Only regenerate the API key by authing with the old key. 2022-02-25 14:00:52 -08:00
test_signup.py registration: Change create_preregistration_user to take realm as arg. 2022-02-25 14:02:24 -08:00
test_slack_importer.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_slack_message_conversion.py tests: Consistently use assert_length helper. 2021-05-19 11:55:56 -07:00
test_soft_deactivation.py tests: Consistently use assert_length helper. 2021-05-19 11:55:56 -07:00
test_subdomains.py subdomains: Extend "static" to include resources hosted on S3. 2021-06-08 15:28:10 -07:00
test_submessage.py tests: Ensure stream senders get a UserMessage row. 2021-12-10 09:40:04 -08:00
test_subs.py i18n: Remove quote syntax from stream description notification. 2022-03-09 15:22:57 -08:00
test_templates.py markdown/tabbed_sections: Raise exception for missing tab name. 2021-10-01 16:25:17 -07:00
test_thumbnail.py requirements: Remove Thumbor. 2021-05-06 20:07:32 -07:00
test_timestamp.py docs: Add missing space in “time zone”. 2022-02-24 14:05:12 -08:00
test_timezone.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_tornado.py tornado: Explicitly mark requests as varying by cookie. 2021-04-02 14:55:22 -07:00
test_transfer.py tests: Use read_test_image_file. 2022-01-13 14:59:46 -08:00
test_tutorial.py onboarding: Manage occurrence of 'help' command. 2021-12-06 11:32:00 -08:00
test_type_debug.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_typing.py typing_notifications: Make privacy settings functional. 2021-10-07 17:39:22 -07:00
test_upload.py tests: Fix some instances of logged in session polluting test state. 2022-02-25 14:02:24 -08:00
test_urls.py test_urls: Fix get_callback_string logic. 2021-12-28 09:31:55 -08:00
test_user_groups.py tests: Remove client parameter if test can use default User-Agent. 2022-02-24 12:57:18 -08:00
test_user_status.py user_status: Add backend changes to support status emoji. 2021-07-27 17:57:15 -07:00
test_users.py user_topic: Rename topic_mutes.py to user_topics.py. 2022-03-11 14:26:55 -08:00
test_webhooks_common.py docs: Fix many spelling mistakes. 2022-02-07 18:51:06 -08:00
test_widgets.py tests: Remove client parameter if test can use default User-Agent. 2022-02-24 12:57:18 -08:00
test_zcommand.py zcommand: Replace "mode" with "theme" in the returned message. 2021-11-22 14:59:16 -08:00
test_zephyr.py docs: Add missing space to compound verbs “log in”, “set up”, etc. 2021-04-26 09:31:08 -07:00