zulip/zerver/tests
Tim Abbott eb19a25aba events: Fix races in stream creation event and add tests.
This fixes 2 issues:
* Being added to an invite_only stream did not correctly update the
  "streams" key of the initial state.

* Once that's resolved, subscribe_to_stream when called on a
  nonexistant stream would both send a "create" event (from
  create_stream_if_needed) and an "occupy" event (from
  bulk_add_subscriptions).

  The second event should just be suppressed in that case, and this
  implements that suppression.
2017-03-23 22:43:09 -07: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_audit_log.py zerver: Replace log_event with RealmAuditLog in do_change_user_email. 2017-03-13 22:08:12 -07:00
test_auth_backends.py actions: Add do_set_realm_property function and migrate to it. 2017-03-23 17:52:45 -07:00
test_bots.py get_stream: Throw DoesNotExist if stream is not found. 2017-03-23 15:42:00 -07:00
test_bugdown.py Add realm-level settings to control inline image and url preview. 2017-03-21 15:46:17 -07:00
test_compatibility.py mobile: Add an endpoint for checking compatibility. 2017-02-03 09:55:34 -08:00
test_decorators.py validators: Add check_float validator. 2017-03-23 21:23:41 -07:00
test_docs.py test_docs: Fix normal users test text. 2017-03-22 13:14:19 -07:00
test_email_change.py actions: Add do_set_realm_property function and migrate to it. 2017-03-23 17:52:45 -07:00
test_email_mirror.py test_email_mirror: Fix TestCommandMTA. 2017-03-04 23:28:48 -08:00
test_events.py events: Fix races in stream creation event and add tests. 2017-03-23 22:43:09 -07:00
test_export.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
test_external.py tests: s/assertEquals/assertEqual/ due to deprecation. 2016-12-15 17:02:03 -08:00
test_home.py Add realm-level settings to control inline image and url preview. 2017-03-21 15:46:17 -07:00
test_i18n.py Remove zh_CN old Django name for Chinese. 2017-02-03 14:29:03 -08:00
test_link_embed.py Add realm-level settings to control inline image and url preview. 2017-03-21 15:46:17 -07:00
test_management_commands.py optimization: Use Python to test management commands. 2017-02-11 13:48:16 -08:00
test_messages.py tests: Remove imports of deleted message_ids. 2017-03-18 20:40:34 -07:00
test_middleware.py tests: Extract zerver/tests/test_middleware.py. 2017-03-08 03:57:37 -08:00
test_muting.py Implemented test's for muting/unmuting a topic 2017-03-15 16:19:00 -07:00
test_narrow.py mypy: Fix some new errors flagged by latest mypy master. 2017-03-19 21:03:45 -07:00
test_notifications.py test_notifications: Don't pass a user_profile to client_patch. 2017-03-23 13:08:49 -07:00
test_presence.py user-presence: Add client info to aggregated presence status. 2017-03-18 20:36:41 -07:00
test_push_notifications.py push: Don't pass a UserProfile into _do_push_to_apns_service. 2017-03-05 18:37:00 -08:00
test_queue_worker.py tests: Extract zerver/tests/test_queue_worker.py. 2017-03-08 03:57:37 -08:00
test_reactions.py reactions: Fix reacting to messages on streams you're not subscribed to. 2017-03-22 20:22:13 -07:00
test_realm.py tests: Fix passing non-unicode strings to do_set_realm_property. 2017-03-23 18:37:12 -07:00
test_realm_aliases.py mypy: Clean up repetition in test_realm_aliases. 2017-03-19 22:26:25 -07:00
test_realm_emoji.py models: Use Realm.string_id instead of domain in RealmEmoji.__unicode__. 2017-03-13 09:26:26 -07: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 statsd: Change keys to use Realm.string_id instead of domain. 2017-03-13 09:51:02 -07:00
test_retention.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
test_settings.py Add timezone field in UserProfile. 2017-03-15 11:18:24 -07:00
test_signup.py tests: Fix passing non-unicode strings to do_set_realm_property. 2017-03-23 18:37:12 -07:00
test_subs.py actions: Add do_set_realm_property function and migrate to it. 2017-03-23 17:52:45 -07:00
test_templates.py Remove product_name setting and return to harcoding 'Zulip'. 2017-03-09 21:48:15 -08:00
test_timestamp.py Clean up timestamps.py and add a test. 2017-03-01 23:03:56 -08:00
test_tornado.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -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 test_unread: Bring to 100% test coverage. 2017-03-04 23:09:45 -08:00
test_upload.py test_upload: Add tests for realm icon URL scheme. 2017-03-21 16:12:04 -07:00
test_urls.py Django 1.10: Url pattern doesn't use _callback_str. 2017-03-09 00:50:12 -08:00
test_users.py actions: Add do_set_realm_property function and migrate to it. 2017-03-23 17:52:45 -07:00
test_zephyr.py tests: Extract zerver/tests/test_zephyr.py. 2017-03-08 03:08:30 -08:00