zulip/zerver/tests
sahil839 15e74a637c tests: Check cases when full members and their bots can send messages.
Currently there are only tests for verifying the error case and there
are no tests to check the case where messages are sent successfully
in 'STREAM_POST_POLICY_RESTRICT_NEW_MEMBERS' stream.

This commit adds tests for checking that full members and bots owned
by them can send message successfully in streams with post policy as
'STREAM_POST_POLICY_RESTRICT_NEW_MEMBERS'.
2021-02-18 18:38:52 -08:00
..
fixtures populate_db: Add images in test data. 2021-01-27 17:52:28 -08: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: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_archive.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_attachments.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_audit_log.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_auth_backends.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_bots.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_cache.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_camo.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_compatibility.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_create_video_call.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_custom_profile_data.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_data_types.py data_types: Generalize StringDictType. 2020-09-25 11:43:19 -07:00
test_decorators.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_digest.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_docs.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_drafts.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
test_email_change.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_email_log.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_email_mirror.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_email_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_embedded_bot_system.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_event_queue.py event_queue: Remove internal fields being leaked to the API. 2021-02-14 21:42:19 -08:00
test_event_system.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_events.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_external.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_github.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_gitter_importer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_home.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_hotspots.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_i18n.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_import_export.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_integrations.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_integrations_dev_panel.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_internet.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_legacy_subject.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_link_embed.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_logging_handlers.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_management_commands.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_markdown.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_mattermost_importer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_message_dict.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_message_edit.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_message_edit_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_message_fetch.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_message_flags.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_message_send.py tests: Check cases when full members and their bots can send messages. 2021-02-18 18:38:52 -08:00
test_message_topics.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_messages.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_middleware.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_migrations.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_mirror_users.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_muting.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_new_users.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_onboarding.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_openapi.py api: Add REST API endpoint for looking up a user by email address. 2021-02-15 17:38:33 -08:00
test_outgoing_webhook_interfaces.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_outgoing_webhook_system.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_populate_db.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
test_presence.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_push_notifications.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_queue.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_queue_worker.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_rate_limiter.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_reactions.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_realm.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_realm_domains.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_realm_emoji.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_realm_export.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_realm_filters.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_redis_utils.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_report.py test_report: Avoid Any type. 2021-02-15 17:05:28 -08:00
test_retention.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_service_bot_system.py test_service_bot_system: Strengthen for_all_bot_types decorator type. 2021-02-15 17:05:28 -08:00
test_sessions.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_settings.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_signup.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_slack_importer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_slack_message_conversion.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_soft_deactivation.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_subdomains.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_submessage.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_subs.py streams: Fix compose_views type safety. 2021-02-15 17:05:28 -08:00
test_templates.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_thumbnail.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_timestamp.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_timezone.py python: Reformat with Black, except quotes. 2021-02-12 13:11:19 -08:00
test_tornado.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_transfer.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_tutorial.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_type_debug.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_typing.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_upload.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_urls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_user_groups.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_user_status.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_users.py api: Add REST API endpoint for looking up a user by email address. 2021-02-15 17:38:33 -08:00
test_webhooks_common.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_widgets.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_zcommand.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
test_zephyr.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00