zulip/zerver/tests
Tim Abbott 8119670da1 user_settings: Prevent LDAP users from setting a Zulip password.
Previously, if both EmailAuthBackend and LDAPAuthBackend were enabled,
LDAP users could set a password using EmailAuthBackend and continue to
use that password, even if their LDAP account was later deactivated.

That configuration wasn't supported at all before, so this doesn't fix
a pre-existing security issue, but now that we're making that a valid
configuration, we need to cover this case.
2018-05-28 22:47:47 -07:00
..
fixtures push_notifications: Format blockquotes properly in text_output. 2018-05-02 08:57:17 -07:00
images test_upload: Add tests for `resize_emoji`. 2018-04-16 11:52:44 -07:00
__init__.py
test_alert_words.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_archive.py narrow: Add is_web_public_compatible check for narrows. 2018-05-21 08:45:48 -07:00
test_attachments.py lint: Prevent `self: Any` annotations. 2017-12-08 19:00:18 -08:00
test_audit_log.py /json/users: Replace email with user_id in API to update/remove users. 2018-05-18 15:20:43 -07:00
test_auth_backends.py 2FA: Add tests for two-factor auth. 2018-05-23 15:49:35 -07:00
test_bots.py outgoing webhooks: Change default URL in all tests. 2018-05-28 10:40:44 -07:00
test_bugdown.py zerver/tests: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
test_cache.py tests: Add 100% test coverage to zerver/apps.py. 2018-05-14 10:36:10 -07:00
test_compatibility.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_custom_profile_data.py custom fields: Add user type of custom fields. 2018-05-27 23:01:21 -07:00
test_decorators.py 2FA: Add zulip_otp_required decorator. 2018-05-23 15:46:57 -07:00
test_digest.py digest: Add a server setting, and disable by default. 2018-03-23 14:12:01 -07:00
test_docs.py user docs: Update time-format docs. 2018-05-16 16:17:39 -04:00
test_email_change.py settings: Allow admin to change email/name even if it is disabled in realm. 2018-03-02 12:17:00 -08:00
test_email_log.py zerver/tests: Use python 3 syntax for typing. 2017-11-18 15:35:57 -08:00
test_email_mirror.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_embedded_bot_system.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_event_queue.py minor: Clean up how we set flags in events. 2018-03-28 15:56:03 -07:00
test_events.py settings: Add a development-only setting for less dense mode. 2018-05-24 12:31:37 -07:00
test_export.py export: Support export of Custom emojis. 2018-05-27 21:54:20 -07:00
test_external.py zerver/tests: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
test_feedback.py Add basic test for FeedbackBot. 2018-03-04 13:31:33 -08:00
test_home.py settings: Add a development-only setting for less dense mode. 2018-05-24 12:31:37 -07:00
test_hotspots.py hotspots: Add ALWAYS_SEND_ALL_HOTSPOTS in dev_settings. 2018-03-19 10:39:43 -07:00
test_i18n.py test_i18n: Stop using six.moves for SimpleCookie. 2018-05-09 20:45:45 -07:00
test_json_encoder_for_html.py zerver: Remove simplejson dependency. 2017-11-21 21:51:48 -08:00
test_link_embed.py embed link: Add test for link_embed_data_from_cache. 2018-04-05 10:48:40 -07:00
test_logging_handlers.py mypy: Set local_partial_types = True. 2018-05-21 22:41:00 -07:00
test_management_commands.py send_test_email: Throw an error if email not configured. 2018-05-14 12:02:36 -07:00
test_message_edit_notifications.py zerver/tests: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
test_messages.py message: Limit message access for guest users. 2018-05-28 12:20:32 -07:00
test_middleware.py tests: Disable slow query messages in test environment. 2018-05-20 10:16:53 -07:00
test_migrations.py migration_tests: Document the migration test framework. 2018-05-21 09:59:55 -07:00
test_muting.py tests: Replace api_auth usages with auth methods in zerver/tests. 2017-12-18 09:24:09 -05:00
test_narrow.py pgroonga: Fix issues with HTML escaping in queries. 2018-05-28 16:53:30 -07:00
test_new_users.py models: Replace core team with Realm.INITIAL_PRIVATE_STREAM_NAME. 2017-11-21 17:39:51 -08:00
test_notifications.py notifications: Add consistent order for sending email notifications. 2018-05-20 10:19:13 -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_outgoing_webhook_interfaces.py outgoing webhooks: Send additional useful data. 2018-05-25 10:33:40 -07:00
test_outgoing_webhook_system.py zerver/tests: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
test_presence.py test_presence: Fix nondeterministic test failures. 2018-05-20 22:02:43 -07:00
test_push_notifications.py push notifications: Clean up unregistered/bad APNS tokens. 2018-05-21 11:30:56 -07:00
test_queue.py requirements: Upgrade pyflakes to 2.0.0. 2018-05-24 11:31:36 -07:00
test_queue_worker.py Add tests for SignupWorker error handling. 2018-02-28 12:31:38 -08:00
test_reactions.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_realm.py zerver/tests: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
test_realm_domains.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_realm_emoji.py emoji: Fix the filtering condition in `check_emoji_admin()`. 2018-03-20 22:24:44 -07:00
test_realm_filters.py i18n: Fix use of 'realm administrator' in translated strings. 2018-03-07 17:15:29 -08:00
test_report.py tests: Refactor use of test and webhook data fixtures. 2018-04-19 21:50:29 -07:00
test_retention.py Eliminate get_user_profile_by_email from test_classes. 2017-11-26 15:47:56 -08:00
test_service_bot_system.py backend: Call real endpoint in create_test_bot(). 2018-02-09 12:30:24 -08:00
test_sessions.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_settings.py user_settings: Prevent LDAP users from setting a Zulip password. 2018-05-28 22:47:47 -07:00
test_signup.py 2FA: Add tests for two-factor auth. 2018-05-23 15:49:35 -07:00
test_slack_importer.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_slack_message_conversion.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_soft_deactivation.py populate_db: Add new user of "guest" type. 2018-04-20 16:20:00 -07:00
test_stripe.py tests: Move zerver/fixtures to zerver/tests/fixtures for clarity. 2018-04-19 21:50:17 -07:00
test_subdomains.py zerver/tests: Use python 3 syntax for typing (part 4). 2017-11-21 22:01:19 -08:00
test_submessage.py Add /submessage endpoint. 2018-05-16 15:13:33 -07:00
test_subs.py settings: Remove PRIVATE_STREAM_HISTORY_FOR_SUBSCRIBERS. 2018-05-24 17:18:14 -07:00
test_templates.py two_factor: Add templates for 2-factor-auth setup. 2018-05-02 15:20:49 -07:00
test_timestamp.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_tornado.py zerver/tests: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
test_tutorial.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_type_debug.py mypy: Remove some now-unnecessary type: ignores. 2018-03-28 10:39:05 -07:00
test_typing.py tests: Replace api_auth usages with auth methods in zerver/tests. 2017-12-18 09:24:09 -05:00
test_unread.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_upload.py mypy: Enable strict optional in lib/avatar.py. 2018-05-17 11:11:55 -07:00
test_urls.py django-2.0: Shift to resolvers from urlresolvers. 2018-01-30 10:53:54 -08:00
test_user_groups.py zerver/tests: Change use of typing.Text to str. 2018-05-12 15:22:39 -07:00
test_users.py zerver/lib/users.py: Add function to check given user id is valid. 2018-05-27 22:57:55 -07:00
test_webhooks_common.py test_webhooks_common: Add logging for a test flake case. 2018-05-17 09:18:31 -07:00
test_widgets.py Support zform-based widget content in the server. 2018-05-24 09:30:22 -07:00
test_zephyr.py zerver/tests: Use python 3 syntax for typing (part 3). 2017-11-21 22:01:19 -08:00
tests.py retention-period: Add retention period to front-end admin organization settings. 2017-03-25 17:57:18 -07:00