zulip/zerver/tests
Tim Abbott 4674af0894 outgoing_webhook: Fix broken way of accessing realm.uri.
Previously, this accessed realm.uri via trying to use
zulip_default_context.  That doesn't make any sense, because
zulip_default_context expects an HttpRequest object, and those are
nowhere in sight in the code path.  We do, however, have the outgoing
webhook bot user involved in the event, and that's the object to
access realm.uri from here.
2017-09-25 07:05:02 -07:00
..
images
__init__.py
test_alert_words.py test_alert_words: Upgrade to HttpResponse.json(). 2017-08-16 07:06:58 -07:00
test_attachments.py tests: Remove unused ujson imports. 2017-08-17 09:05:52 -07:00
test_audit_log.py RealmAuditLog: Add support for stringifying entries. 2017-09-22 07:09:37 -07:00
test_auth_backends.py test_choose_realm: Hardcode REALMS_HAVE_SUBDOMAINS. 2017-09-15 13:11:12 -07:00
test_bots.py bots: Fix calculation of bot domain with REALMS_HAVE_SUBDOMAINS. 2017-09-16 02:49:15 -07:00
test_bugdown.py Avoid getting realm emoji unless there is emoji syntax. 2017-09-15 01:09:08 -07:00
test_compatibility.py mobile: Add an endpoint for checking compatibility. 2017-02-03 09:55:34 -08:00
test_custom_profile_data.py api: Fix caps in JSON validation error message. 2017-06-27 08:33:56 -04:00
test_decorators.py tests: Replace test_user_agent_parsing with a normal test. 2017-09-16 03:56:18 -07:00
test_docs.py integrations: Render bots' docs alongside integration docs. 2017-09-22 15:19:20 -07:00
test_email_change.py Fix changing email addresses back after email change. 2017-08-05 10:49:44 -07:00
test_email_mirror.py python: Add lint rule banning 'from os.path import'. 2017-09-22 04:55:38 -07:00
test_events.py Introduce StreamRecipient class. 2017-09-15 10:44:32 -07:00
test_export.py tests: Replaced @zulip.com references with self.example_ functions. 2017-05-23 20:59:50 -07:00
test_external.py tests: Remove unused ujson imports. 2017-08-17 09:05:52 -07:00
test_home.py Add test_num_queries_with_streams() for home page. 2017-09-20 10:31:33 -07:00
test_hotspots.py hotspots: Use tutorial_status to manage whether we show hotspots. 2017-09-15 04:14:52 -07:00
test_i18n.py invites: Migrate to non-legacy API format. 2017-07-31 13:08:06 -07:00
test_link_embed.py preview.py: Fix error raised on uploading file with unicode filename. 2017-06-19 14:58:44 -04:00
test_logging_handlers.py mypy: Pass empty dict to makeRecord for args, instead of None. 2017-08-09 18:04:21 -07:00
test_management_commands.py backend-tests: Add tests for get_users with all-users argument enabled. 2017-08-27 12:34:23 -07:00
test_messages.py Simplify get_stream_cache_key(). 2017-09-20 10:31:33 -07:00
test_middleware.py tests: Extract zerver/tests/test_middleware.py. 2017-03-08 03:57:37 -08:00
test_muting.py Add MutedTopic model. 2017-09-02 09:19:51 -07:00
test_narrow.py tests: Restore 100% coverage to views/messages.py. 2017-09-20 13:02:22 -07:00
test_new_users.py Update "MacOS" text to "macOS" 2017-08-26 09:00:42 -07:00
test_notifications.py test_notifications: Fix unnecessary use of dirname. 2017-09-22 10:17:54 -07:00
test_outgoing_webhook_interfaces.py outgoing webhooks: Remove process_failure interface method. 2017-07-24 14:10:14 -07:00
test_outgoing_webhook_system.py outgoing_webhook: Fix broken way of accessing realm.uri. 2017-09-25 07:05:02 -07:00
test_presence.py Fix bug where we hard code realm for PushDeviceToken. 2017-09-08 12:32:17 -07:00
test_push_notifications.py APNs: Add message body to notification payload. 2017-09-18 16:37:02 -07:00
test_queue_worker.py tests: Replaced @zulip.com references with self.example_ functions. 2017-05-23 20:59:50 -07:00
test_reactions.py tests: Add and use new self.subscribe. 2017-08-24 21:37:57 -07:00
test_realm.py models: Create get_notifications_stream method in class Realm. 2017-08-23 17:50:34 -07:00
test_realm_domains.py do_create_realm: Remove unnecessary second return value. 2017-08-23 20:07:17 -07:00
test_realm_emoji.py tests: Remove unused ujson imports. 2017-08-17 09:05:52 -07:00
test_realm_filters.py tests: Remove unused ujson imports. 2017-08-17 09:05:52 -07:00
test_report.py tests: Replaced @zulip.com references with self.example_ functions. 2017-05-23 20:59:50 -07:00
test_retention.py messages: Add support for admins deleting messages. 2017-05-29 21:59:38 -07:00
test_service_bot_system.py tests: Add and use new self.subscribe. 2017-08-24 21:37:57 -07:00
test_sessions.py tests: Fix str/Text mypy issues in various tests. 2017-05-24 15:19:38 -07:00
test_settings.py result.json: Upgrade test_settings. 2017-08-17 09:03:35 -07:00
test_signup.py test_signup: Remove unnecessary realm_name/realm_subdomain arguments. 2017-09-25 06:45:56 -07:00
test_soft_deactivation.py softdeactivation/management: Make specifying realm an optional arg. 2017-08-27 11:33:06 -07:00
test_subs.py Only require ids for finding DefaultStream objects. 2017-09-20 10:31:33 -07:00
test_templates.py zulip_bots: Generate static files during provisioning. 2017-09-22 15:14:42 -07:00
test_timestamp.py Replace timezone.utc with timezone_utc. 2017-04-16 12:28:56 -07:00
test_tornado.py tornado: Add support for testing with subdomains. 2017-08-25 15:42:58 -07:00
test_tutorial.py api: Fix caps in JSON validation error message. 2017-06-27 08:33:56 -04:00
test_type_debug.py mypy: Remove type: ignores not needed in Python 3. 2017-08-25 11:04:20 -07:00
test_typing.py mypy: Amend tornado_redirected_to_list calls to use Mapping. 2017-08-05 12:08:59 -07:00
test_unread.py fix_unreads: Remove commit() call in fix(). 2017-09-07 07:06:03 -07:00
test_upload.py test_upload: Explicitly declare subdomains. 2017-08-26 13:45:27 -07:00
test_urls.py api: Allow incoming webhook bots to use the send_message API. 2017-08-22 10:06:34 -07:00
test_users.py result.json: Upgrade test_users. 2017-08-17 09:03:35 -07:00
test_zephyr.py test_zephyr: Explictly declare subdomain in requests. 2017-08-25 15:42:50 -07:00
tests.py retention-period: Add retention period to front-end admin organization settings. 2017-03-25 17:57:18 -07:00