zulip/zerver/tests
Mateusz Mandera 9649e0d7c0 presence: Fix for last active time for invisible mode.
Co-authored-by: Tim Abbott <tabbott@zulip.com>
2025-02-26 12:51:57 -08:00
..
fixtures url_decoding: Add parse_narrow_url. 2025-02-24 15:37:40 -08:00
images thumbnail: Show the first few frames of large animated images. 2025-01-15 09:56:19 -08:00
__init__.py
test_alert_words.py alert_words: Migrate alert_words to use @typed_endpoint. 2023-09-08 08:20:17 -07:00
test_attachments.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
test_audit_log.py do_activate_mirror_dummy_user: Assert user_profile is a mirror dummy. 2025-01-28 09:38:56 -08:00
test_auth_backends.py backends: Fix type errors. 2025-02-18 22:04:43 -08:00
test_bots.py bots: Do not remove bot from inaccessible streams on owner change. 2025-02-26 09:30:24 -08:00
test_cache.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
test_compatibility.py python: Reformat with Ruff formatter. 2024-02-29 17:07:16 -08:00
test_create_video_call.py video-calls: Add Zoom Serverto Server OAuth integration. 2025-02-13 16:35:43 -08:00
test_custom_profile_data.py custom_profile_fields: Add "editable_by_user" setting. 2024-09-23 18:09:38 -07:00
test_decorators.py users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08:00
test_delete_unclaimed_attachments.py do_delete_old_unclaimed_attachments: Cap deletions at batch size. 2024-08-28 13:57:57 -07:00
test_digest.py urls: Generate narrow links in backend with "channel" operator. 2024-10-11 17:00:23 -07:00
test_docs.py test_docs: Remove duplicate entry from test_zephyr_disallows_robots. 2025-02-01 15:38:46 -08:00
test_drafts.py ruff: Fix UP007 Use X | Y for type annotations. 2024-07-13 22:28:22 -07:00
test_email_change.py realm-deactivation: Send email to owners as part of deactivation. 2024-06-26 16:48:18 -07:00
test_email_log.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
test_email_mirror.py streams: Allow specifying sender during channel email generation. 2025-01-08 12:17:16 -08:00
test_email_notifications.py email_notifications: Prevent html2text from mangling Unicode. 2024-10-30 09:49:23 -07:00
test_embedded_bot_system.py ruff: Fix SIM117 Use a single with statement with multiple contexts. 2024-07-14 13:48:32 -07:00
test_event_queue.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
test_event_system.py users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08:00
test_events.py presence: Fix for last active time for invisible mode. 2025-02-26 12:51:57 -08:00
test_example.py settings: Migrate wildcard_mention_policy to group-based permission. 2025-02-12 23:21:33 -08:00
test_external.py zephyr: Switch from py3dns to dnspython. 2025-02-25 11:53:08 -08:00
test_github.py ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
test_health.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
test_home.py settings: Add backend to change allow_edit_history to integer field. 2025-02-25 18:18:23 -08:00
test_i18n.py i18n: Update translation data from Transifex. 2024-11-18 16:12:31 -08:00
test_import_export.py import-export: Rework how we write migration_status.json. 2025-01-24 17:08:37 -08:00
test_integrations_dev_panel.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
test_integrations.py refactor: Relocate screenshots scripts to new tools/screenshots dir. 2024-05-14 16:17:44 -07:00
test_internet.py ruff: Fix B017 assertRaises(Exception): should be considered evil. 2022-11-03 12:10:15 -07:00
test_invite.py invite: Any combination of default streams should be subscribe-able. 2025-01-22 14:27:06 -08:00
test_legacy_subject.py tests: Consistently JSON-encode ‘to’ parameter 2022-09-13 11:05:37 -07:00
test_link_embed.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
test_management_commands.py management: Add option to reset all the active realms to a level. 2024-11-05 08:51:06 -08:00
test_markdown_thumbnail.py models: Add content_type to ImageAttachment. 2025-01-31 14:29:57 -08:00
test_markdown.py streams: Add get_content_access_streams function. 2025-02-21 15:36:07 -08:00
test_mattermost_importer.py data_import: Add migration status file to converted exports. 2024-11-08 15:52:45 -08:00
test_message_delete.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
test_message_dict.py settings: Add backend to change allow_edit_history to integer field. 2025-02-25 18:18:23 -08:00
test_message_edit_notifications.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
test_message_edit.py settings: Add backend to change allow_edit_history to integer field. 2025-02-25 18:18:23 -08:00
test_message_fetch.py narrow_term: Refactor a NeverNegatedNarrowTerm. 2025-02-24 15:37:40 -08:00
test_message_flags.py message_flags: Add skipped unsubscribed stream ids in the response. 2025-02-23 13:59:46 -08:00
test_message_move_stream.py user_group: Move UserGroupMembershipDetails from lib/streams.py. 2025-02-21 15:36:07 -08:00
test_message_move_topic.py message_edit: Disallow empty topic when mandatory topic is true. 2025-01-27 11:45:58 -08:00
test_message_notification_emails.py missedmessage_emails: Show EMPTY_TOPIC_FALLBACK_NAME for topic="". 2025-01-27 13:08:19 -08:00
test_message_send.py zephyr: Switch from py3dns to dnspython. 2025-02-25 11:53:08 -08:00
test_message_summary.py message_summary: Add markdown support for generated summary. 2025-02-12 13:23:42 -08:00
test_message_topics.py get_stream_topics: Add support for empty topic name. 2025-01-22 15:54:11 -08:00
test_messages.py direct_message_group: Add new group_size field. 2024-08-23 11:09:41 -07:00
test_middleware.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
test_migration_status.py migration_status: Add parse_migration_status. 2025-01-24 17:08:37 -08:00
test_migrations.py CVE-2024-27286: Delete dangling UserMessage rows. 2024-03-19 18:22:24 -04:00
test_mirror_users.py zephyr: Switch from py3dns to dnspython. 2025-02-25 11:53:08 -08:00
test_muted_users.py audit-log: Move user muted event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
test_new_users.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
test_notification_data.py mention: Do not include deactivated users in group mention data. 2024-10-10 11:37:44 -07:00
test_onboarding_steps.py topic: Add a first-time explanation for "Resolve topic". 2024-10-09 18:12:55 -07:00
test_onboarding.py
test_openapi.py ruff: Partially reformat Python with Ruff 0.9 (2025 style). 2025-01-14 09:42:16 -08:00
test_outgoing_http.py requirements: Upgrade Python requirements. 2024-09-24 19:27:21 -07:00
test_outgoing_webhook_interfaces.py avatar: Add option to disable gravatars per realm. 2025-01-30 18:46:02 -08:00
test_outgoing_webhook_system.py message_cache: Use the sender’s recipient_id for incoming 1:1 DMs. 2024-12-11 12:05:03 -08:00
test_populate_db.py populate_db: Import timedelta from its canonical module. 2023-03-05 14:46:28 -08:00
test_presence.py presence: Fix for last active time for invisible mode. 2025-02-26 12:51:57 -08:00
test_push_notifications.py zilencer: Log bouncer-side info when RemoteRealm creation fails. 2025-02-19 17:11:35 -08:00
test_queue_worker.py streams: Allow specifying sender during channel email generation. 2025-01-08 12:17:16 -08:00
test_queue.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
test_rate_limiter.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
test_reactions.py message: Take into account usergroups for has_message_access. 2025-02-21 15:36:07 -08:00
test_read_receipts.py refactor: Rename huddle to direct_message_group in non API. 2024-07-04 07:56:31 -07:00
test_realm_domains.py models: Extract zerver.models.realms. 2023-12-16 22:08:44 -08:00
test_realm_emoji.py settings: Add can_add_custom_emoji_group realm setting. 2024-10-13 16:09:04 -07:00
test_realm_export.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
test_realm_linkifiers.py audit-log: Move realm event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
test_realm_playgrounds.py code_playground: Add custom playground options in the default_options list. 2025-02-16 17:22:47 -08:00
test_realm.py settings: Add backend to change allow_edit_history to integer field. 2025-02-25 18:18:23 -08:00
test_recipient_parsing.py scheduled_messages: Migrate to typed_endpoint. 2024-08-20 10:03:22 -07:00
test_redis_utils.py mypy: Enable new error explicit-override. 2023-10-12 12:28:41 -07:00
test_report.py zerver: Remove now-unused report/ endpoints. 2023-05-09 13:16:28 -07:00
test_retention.py retention: Add flag to ArchiveTransaction to prevent automatic deletion. 2025-02-04 11:31:13 -08:00
test_rocketchat_importer.py data_import: Add migration status file to converted exports. 2024-11-08 15:52:45 -08:00
test_saved_snippets.py saved_snippets: Add backend for saved snippets. 2024-09-24 15:27:58 -07:00
test_scheduled_messages.py scheduled_messages: Remove separate logfile. 2024-10-04 14:22:37 -07:00
test_scim.py scim: Extract ROLE_TYPE_TO_NAME dict to UserProfile. 2024-08-20 11:53:24 -07:00
test_send_email.py ruff: Fix SIM117 Use a single with statement with multiple contexts. 2024-07-14 13:48:32 -07:00
test_server_settings.py settings: Make SHARED_SECRET mandatory. 2022-08-25 12:13:03 -07:00
test_service_bot_system.py worker: Flag messages processed by embedded bot. 2025-01-24 17:56:44 -08:00
test_sessions.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
test_settings.py users: Remove weird get_all_api_keys helper. 2025-02-13 12:40:53 -08:00
test_signup.py zephyr: Switch from py3dns to dnspython. 2025-02-25 11:53:08 -08:00
test_slack_importer.py slack: Mark content-type of imported attachments. 2025-01-31 14:29:57 -08:00
test_slack_message_conversion.py slack_data_import: Fix incorrect hyperlink conversion. 2024-10-30 09:48:32 -07:00
test_soft_deactivation.py audit-log: Move user event types to AuditLogEventType enum. 2024-09-09 11:50:13 -07:00
test_subdomains.py ruff: Fix UP035 Import from collections.abc, typing instead. 2024-07-13 22:28:22 -07:00
test_submessage.py queue: Rename queue_json_publish to queue_json_publish_rollback_unsafe. 2024-12-06 09:23:02 -08:00
test_subs.py get_streams: Return metadata access streams in include_all. 2025-02-25 14:25:43 -08:00
test_templates.py css: Use classname instead of div selector for .blocks. 2024-08-13 22:36:35 -07:00
test_thumbnail.py tests: Consume more streaming responses. 2025-02-05 13:16:12 -08:00
test_timeout.py timeout: Rename to unsafe_timeout. 2024-04-18 11:50:38 -07:00
test_timestamp.py ruff: Fix N818 exception name should be named with an Error suffix. 2022-11-17 16:52:00 -08:00
test_timezone.py ruff: Bump target-version from py38 to py310. 2024-07-13 22:28:22 -07:00
test_tornado.py test_tornado: Add nocoverage for task cleanup. 2025-02-14 17:04:51 -08:00
test_transfer.py emoji: Pass down content-type, rather than guessing from extension. 2024-07-12 13:26:47 -07:00
test_tusd.py tusd: Allow user to upload files during preregistration. 2024-12-02 10:21:45 -08:00
test_tutorial.py user_profile: Remove 'tutorial_status' field. 2024-08-15 13:31:40 -07:00
test_typed_endpoint_validators.py zerver: Migrate some files to typed_endpoint. 2024-07-20 15:46:48 -07:00
test_typed_endpoint.py ruff: Enable B008 function-call-in-default-argument. 2024-11-10 22:43:55 -08:00
test_typing.py message_edit: Show typing indicator for message editing. 2025-02-12 15:08:56 -08:00
test_upload_local.py upload: Allow filtering to just a prefix (e.g. a realm id). 2024-09-26 12:01:11 -07:00
test_upload_s3.py upload: Allow filtering to just a prefix (e.g. a realm id). 2024-09-26 12:01:11 -07:00
test_upload.py users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08:00
test_url_decoding.py url_decoding: Add parse_narrow_url. 2025-02-24 15:37:40 -08:00
test_urls.py banners: Add new redesigned banner component. 2025-01-13 17:46:13 -08:00
test_user_groups.py settings: Correctly handle passing empty anonymous group. 2025-02-18 10:40:28 -08:00
test_user_status.py presence: Fix for last active time for invisible mode. 2025-02-26 12:51:57 -08:00
test_user_topics.py message: Add test coverage for 'set_visibility_policy_possible'. 2024-09-24 14:32:42 -07:00
test_users.py user_groups: Add function to get union of members of two groups. 2025-02-11 15:09:16 -08:00
test_validators.py endpoints: Remove the has_request_variables decorator. 2024-09-05 16:02:12 -07:00
test_webhooks_common.py users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08:00
test_widgets.py ruff: Fix UP006 Use list instead of List for type annotation. 2024-07-13 22:28:22 -07:00
test_zcommand.py zcommand: Rename night->dark and day->light in the color scheme backend. 2024-06-30 22:45:26 -07:00
test_zephyr.py users: Remove unnecessary get_api_key helper. 2025-02-13 12:40:53 -08:00
test_zulip_update_announcements.py zulip_updates: Add test to verify deactivated channel case. 2025-02-05 12:21:55 -08:00