zulip/zerver/tests
Vishnu Ks 8954c0c726 management: Use Realm.objects.get instead of get_realm.
The Realm.DoesNotExist exception will never be raised if we pass a
string_id as in that case zerver.models.get_realm function would be
used for fetching. realm.zerver.models.get_realm uses filter query
so the exception will not be raised even if there are no realm which
matches the query.

Tests added by tabbott.
2017-07-07 15:02:12 -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 Replace othello@zulip.com with example_email('othello'). 2017-05-24 19:37:36 -07:00
test_attachments.py tests: Replaced @zulip.com references with self.example_ functions. 2017-05-23 20:59:50 -07:00
test_audit_log.py Switch change_tos_version to use RealmAuditLog. 2017-05-29 15:24:01 -07:00
test_auth_backends.py Make test_google_oauth2_token_failure() work without internet. 2017-07-04 12:45:27 -07:00
test_bots.py bots: Add validation to add_bot_backend to prevent empty short names 2017-06-21 10:11:08 -04:00
test_bugdown.py emoji: Fix the title and alt text for unicode emojis. 2017-07-01 11:14:24 -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 auth: Don't show deactivation notice to mirror dummies. 2017-07-05 23:50:53 -07:00
test_docs.py portico: Redesign and rewrite /integrations text headings. 2017-07-06 15:28:50 -07:00
test_email_change.py tests: Enforce that activation emails come from NOREPLY address. 2017-07-05 15:19:00 -07:00
test_email_mirror.py emails: Groundwork to personalize reply-to name of missed message emails. 2017-07-05 15:33:01 -07:00
test_events.py Delete the old zulip.com "referrals" system. 2017-07-07 14:59:18 -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: Replace mit_user().email with mit_email(). 2017-05-24 12:44:43 -07:00
test_home.py Delete the old zulip.com "referrals" system. 2017-07-07 14:59:18 -07:00
test_hotspots.py hotspots: Change hotspots to have a name and a description. 2017-06-13 12:59:33 -07:00
test_i18n.py test: Fix test_i18n.test_json_error(). 2017-07-06 11:30:55 -04: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 pep8: Add compliance with rule E261 test_logging_handlers.py. 2017-06-04 15:07:26 +05:30
test_management_commands.py management: Use Realm.objects.get instead of get_realm. 2017-07-07 15:02:12 -07:00
test_messages.py message-edit: Patch html tags after edits on new lines. 2017-06-19 16:43:11 -04:00
test_middleware.py tests: Extract zerver/tests/test_middleware.py. 2017-03-08 03:57:37 -08:00
test_muting.py tests: Remove get_user_profile_by_email from most tests. 2017-05-24 13:05:19 -07:00
test_narrow.py Update narrow.py, messages.py to support is:unread. 2017-06-19 06:51:13 -04:00
test_new_users.py Fix new-login emails for iOS not identifying OS correctly. 2017-07-07 13:34:25 -07:00
test_notifications.py emails: Groundwork to personalize reply-to name of missed message emails. 2017-07-05 15:33:01 -07:00
test_outgoing_webhook_system.py mypy: Use specific kwargs types. 2017-07-07 10:56:33 -07:00
test_presence.py Replace othello@zulip.com with example_email('othello'). 2017-05-24 19:37:36 -07:00
test_push_notifications.py push_notifications: Verify that token types are valid. 2017-07-07 10:28:36 -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 urls: Use POST for zerver.views.realm_emoji.upload_emoji. 2017-07-07 10:31:43 -07:00
test_realm.py settings: Simplify testing code for bool realm settings. 2017-07-04 14:23:05 -07:00
test_realm_domains.py Replace iago@zulip.com with example_email('iago'). 2017-05-24 19:37:36 -07:00
test_realm_emoji.py urls: Use POST for zerver.views.realm_emoji.upload_emoji. 2017-07-07 10:31:43 -07:00
test_realm_filters.py tests: Replaced @zulip.com references with self.example_ functions. 2017-05-23 20:59:50 -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 bots: Add additional service bot tests. 2017-05-25 15:00:51 -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 Replace hamlet@zulip.com with example_email('hamlet'). 2017-05-24 19:37:36 -07:00
test_signup.py Delete the old zulip.com "referrals" system. 2017-07-07 14:59:18 -07:00
test_subs.py Clean up var names in test_user_getting_add_peer_event(). 2017-06-10 10:43:57 -07:00
test_templates.py emails: Add html versions of emails that do not have them. 2017-06-12 23:02:28 -07:00
test_timestamp.py Replace timezone.utc with timezone_utc. 2017-04-16 12:28:56 -07:00
test_tornado.py testing: Add testing framework for Tornado. 2017-06-13 15:04:04 -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 pep8: Add compliance with rule E261 to test_type_debug.py. 2017-05-07 23:21:50 -07:00
test_typing.py Replace othello@zulip.com with example_email('othello'). 2017-05-24 19:37:36 -07:00
test_unread.py pep8: Add compliance with rule E261 test_unread.py. 2017-06-04 15:07:39 +05:30
test_upload.py mypy: Add missing type parameter in test_upload.py:create_user. 2017-07-07 10:56:33 -07:00
test_urls.py pep8: Add compliance with rule E261 to test_urls.py. 2017-05-18 03:00:32 +05:30
test_users.py actions.py: Clear ScheduledJobs of users in do_deactivate_{user,realm}. 2017-07-01 08:44:47 -07:00
test_zephyr.py bots: Move zephyr-related files to api/integrations/zephyr/. 2017-05-26 15:07:02 -07:00
tests.py retention-period: Add retention period to front-end admin organization settings. 2017-03-25 17:57:18 -07:00