zulip/zerver/tests
Sampriti Panda ee61e1be2c search: Fix misaligned highlights due to unicode characters.
tsearch_extras returns search offsets in bytes but our highlight
function treated them as character offsets.  Added a check to subtract
extra bytes if the tsearch search backend is being used.

Fixes #4084.
Fixes #7021.
2017-10-31 09:06:46 -07:00
..
images Update types of images accepted as avatars. 2016-07-26 16:36:47 +05:30
__init__.py Fix missing zerver/tests/__init__.py. 2016-04-11 22:34:22 -07:00
test_alert_words.py tests: Fix send_message calls in test_alert_words.py. 2017-10-28 10:20:59 -07:00
test_attachments.py lint: Replace `pk` with `id` where they are equivalent. 2017-10-06 12:52:12 -07:00
test_audit_log.py Use stream ids in various tests. 2017-10-08 20:18:34 -07:00
test_auth_backends.py GoogleSubdomainLoginTest: Suppress unnecessary logging output. 2017-10-27 16:06:03 -07:00
test_bots.py Embedded bots: Add support for creating embedded bots via the API. 2017-10-25 16:13:29 -07:00
test_bugdown.py test_bugdown: Check for unknown keys in markdown_test_cases.json. 2017-10-31 08:58:42 -07:00
test_compatibility.py zerver/tests: Remove print_function. 2017-09-27 18:05:45 -07:00
test_custom_profile_data.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_decorators.py decorators: Use human_users_only more aggressively. 2017-10-27 15:16:13 -07:00
test_docs.py /api/: Add Markdown-based /api-new documentation. 2017-10-30 22:32:43 -07:00
test_email_change.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_email_mirror.py tests: Enable call_consume_in_tests for email mirror queue. 2017-10-26 14:53:27 -07:00
test_embedded_bot_system.py Fix send_message calls in test_embedded_bot_system.py. 2017-10-28 10:20:59 -07:00
test_event_queue.py tests: Fix send_message calls in test_event_queue.py. 2017-10-28 10:20:59 -07:00
test_events.py refactor: Replace super(.*self) with Python 3-specific super(). 2017-10-30 14:30:25 -07:00
test_export.py tests: Fix send_message calls in test_export.py. 2017-10-28 10:20:59 -07:00
test_external.py py3: Remove "from six.moves import range". 2017-10-17 23:28:14 -07:00
test_home.py Remove `active` parameter from `do_create_user()`. 2017-10-28 10:32:01 -07:00
test_hotspots.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_i18n.py Revert "locale: Fix incorrect locale name for zh-Hans." 2017-10-06 10:09:08 -07:00
test_link_embed.py tests: Fix send_message calls in test_link_embed.py. 2017-10-28 10:20:59 -07:00
test_logging_handlers.py logging: Clear out the Django default config on logger `django`. 2017-10-12 22:45:14 -07:00
test_management_commands.py test_management_commands: Add check for expected system exit. 2017-10-20 09:16:38 -07:00
test_message_edit_notifications.py Extract get_stream_recipient(). 2017-10-28 17:57:39 -07:00
test_messages.py html_diff: Migrate to use lxml. 2017-10-30 14:10:35 -07:00
test_middleware.py urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
test_muting.py Extract get_stream_recipient(). 2017-10-28 17:57:39 -07:00
test_narrow.py search: Fix misaligned highlights due to unicode characters. 2017-10-31 09:06:46 -07:00
test_new_users.py Use stream ids in various tests. 2017-10-08 20:18:34 -07:00
test_notifications.py notifications: Instead of regex use lxml for fixing emojis. 2017-10-28 10:38:33 -07:00
test_outgoing_webhook_interfaces.py zerver/tests: Remove print_function. 2017-09-27 18:05:45 -07:00
test_outgoing_webhook_system.py settings: Remove remaining references to REALMS_HAVE_SUBDOMAINS. 2017-10-02 16:43:54 -07:00
test_presence.py tests: Don't use caching session engine in tests. 2017-10-06 12:22:20 -07:00
test_push_notifications.py refactor: Replace super(.*self) with Python 3-specific super(). 2017-10-30 14:30:25 -07:00
test_queue_worker.py refactor: Replace super(.*self) with Python 3-specific super(). 2017-10-30 14:30:25 -07:00
test_reactions.py tests: Fix send_message calls in test_reactions.py. 2017-10-28 10:20:59 -07:00
test_realm.py Use stream ids in various tests. 2017-10-08 20:18:34 -07:00
test_realm_domains.py subdomains: Hardcode REALMS_HAVE_SUBDOMAINS=True. 2017-10-02 16:42:43 -07:00
test_realm_emoji.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_realm_filters.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_report.py urls: Move the report endpoints to be API-style routes. 2017-10-17 22:05:56 -07:00
test_retention.py refactor: Replace super(.*self) with Python 3-specific super(). 2017-10-30 14:30:25 -07:00
test_service_bot_system.py bot_storage: Fix missing test coverage. 2017-10-30 14:10:35 -07:00
test_sessions.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_settings.py zerver/tests: Remove print_function. 2017-09-27 18:05:45 -07:00
test_signup.py alias domains: Tweak a test helper that assumes hosts are subdomains. 2017-10-30 18:29:29 -07:00
test_soft_deactivation.py tests: Fix send_message calls in test_soft_deactivation.py. 2017-10-28 10:20:59 -07:00
test_subdomains.py subdomains: Tighten search for EXTERNAL_HOST in get_subdomain. 2017-10-27 14:42:24 -07:00
test_subs.py Simplify bulk_remove_subscriptions(). 2017-10-30 16:33:50 -07:00
test_templates.py tests: Add @slow decorator to various methods needing it. 2017-10-06 15:45:04 -07:00
test_timestamp.py analytics: Enforce various datetime arguments are in UTC. 2017-10-05 11:22:06 -07:00
test_tornado.py refactor: Replace super(.*self) with Python 3-specific super(). 2017-10-30 14:30:25 -07:00
test_tutorial.py tests: Fix send_message calls in test_tutorial.py. 2017-10-28 10:20:59 -07:00
test_type_debug.py zerver/tests: Remove print_function. 2017-09-27 18:05:45 -07:00
test_typing.py zerver/tests: Remove absolute_import. 2017-09-27 10:00:39 -07:00
test_unread.py Extract get_stream_recipient(). 2017-10-28 17:57:39 -07:00
test_upload.py test_uploads: Extract 'use_s3_backend' to test helpers. 2017-10-30 21:56:31 -07:00
test_urls.py errors: Force a super-simpler handler for 400 errors. 2017-10-11 20:43:36 -07:00
test_users.py Extract get_stream_recipient(). 2017-10-28 17:57:39 -07:00
test_zephyr.py zephyr: Update path to process_cache for repository split. 2017-10-05 12:35:20 -07:00
tests.py retention-period: Add retention period to front-end admin organization settings. 2017-03-25 17:57:18 -07:00