zulip/zerver/tests
Tim Abbott bc38870136 preview: Fix adding links in message editing.
When you edit a message to contain links, and URL previews are
enabled, previously we'd throw an exception, because the realm ID
wasn't included in the event.

Also adds a test so that we can have effective test coverage on this
codepath, though this history is actually that I found the bug through
writing this test :).
2017-03-01 10:38:47 -08:00
..
images Update types of images accepted as avatars. 2016-07-26 16:36:47 +05:30
markdown Remove extra new lines at the ends of Zulip authoried files. 2016-09-26 21:05:24 -07:00
__init__.py Fix missing zerver/tests/__init__.py. 2016-04-11 22:34:22 -07:00
test_alert_words.py alert_words: Consistently clean whitespace for alert words. 2017-02-16 21:06:18 -08:00
test_attachments.py Add support for managing and deleting attachments. 2017-02-16 23:44:44 -08:00
test_auth_backends.py server-version: Add server version to api endpoints. 2017-02-28 14:22:01 -08:00
test_bugdown.py Support email changes for !avatar syntax. 2017-02-28 21:56:04 -08:00
test_compatibility.py mobile: Add an endpoint for checking compatibility. 2017-02-03 09:55:34 -08:00
test_decorators.py mypy: Fix inconsistencies in use of *args/**kwargs. 2017-02-18 18:39:44 -08:00
test_email_change.py change-email: Implement confirmation flow. 2017-02-23 03:15:17 -08:00
test_email_mirror.py mypy: Remove now-unused type: ignores. 2017-02-18 17:01:01 -08:00
test_events.py bug fix: Fix error when admin renames a bot after reactivating it. 2017-02-28 16:10:53 -08:00
test_export.py mypy: Fix inconsistencies in use of *args/**kwargs. 2017-02-18 18:39:44 -08:00
test_external.py tests: s/assertEquals/assertEqual/ due to deprecation. 2016-12-15 17:02:03 -08:00
test_i18n.py Remove zh_CN old Django name for Chinese. 2017-02-03 14:29:03 -08:00
test_integrations.py test-backend: Raise zerver/views/integrations.py test coverage to 100%. 2017-02-28 09:31:06 -08:00
test_link_embed.py preview: Fix adding links in message editing. 2017-03-01 10:38:47 -08:00
test_management_commands.py optimization: Use Python to test management commands. 2017-02-11 13:48:16 -08:00
test_messages.py messages: Add test coverage for IRC mirroring code path. 2017-02-22 20:51:25 -08:00
test_narrow.py messages: Add test coverage for is_search code path. 2017-02-22 20:51:25 -08:00
test_presence.py Add endpoint to fetch presence data for a single user. 2017-02-10 23:52:56 -08:00
test_push_notifications.py mypy: Fix inconsistencies in use of *args/**kwargs. 2017-02-18 18:39:44 -08:00
test_reactions.py emoji: Remove unnecessary duplicate regular expression from urls.py. 2017-01-16 23:54:58 -08:00
test_realm_aliases.py actions.py: `restricted_to_domain` should be False if there are no aliases. 2017-02-08 22:14:43 -08:00
test_realm_emoji.py emoji: Fix 500 trying to remove nonexisting realm emoji. 2017-01-16 23:48:07 -08:00
test_realm_filters.py Rename models.get_realm_by_string_id to get_realm. 2017-01-04 17:12:23 -08:00
test_report.py report: Use DEVELOPMENT instead of DEBUG setting. 2017-02-28 21:44:41 -08:00
test_retention.py Remove unnecessary uses of Realm.domain in zerver/tests. 2017-01-09 11:26:08 -08:00
test_signup.py test-backend: Raise zerver/views/invite.py test coverage to 100%. 2017-02-26 16:15:25 -08:00
test_subs.py Remove deactivated streams from the DefaultStream model. 2017-02-19 18:06:20 -08:00
test_templates.py templates: Rename image-overlay.html to lightbox_overlay.html. 2017-03-01 09:03:35 -08:00
test_tornado.py Change X.realm.id to X.realm_id across codebase. 2017-01-03 16:46:26 -08:00
test_tutorial.py tests: Split out ZulipTestCase and WebhookTestCase to a separate file. 2016-11-10 19:29:43 -08:00
test_type_debug.py lint: Clean up E741 PEP-8 rule. 2017-01-23 21:07:04 -08:00
test_typing.py pep8: Fix E303 violations. 2016-12-02 15:34:11 -08:00
test_unread.py lint: Clean up E126 PEP-8 rule. 2017-01-23 22:06:13 -08:00
test_upload.py Add support for getting medium size profile images. 2017-03-01 09:57:30 -08:00
test_urls.py Remove rest_dispatch hack and optimize imports. 2016-06-24 16:11:03 -07:00
tests.py page_params: scope presence_disabled in realm. 2017-02-28 14:58:53 -08:00