zulip/zerver/tests
Steve Howell ea26372083 hipchat: Make conversion work with UUID ids from Stride.
Normal hipchat exports use integer ids for their
users and "rooms," which we just borrowed during
conversion.

Atlassian Stride uses stride UUIDs for these instead, but otherwise
has the same export format.

We now introduce IdMapper to handle external ids
that aren't integer.  The IdMapper will map UUID
ids to ints and remember them.  For ints it just
leaves them alone.

Fixes #10805.
2018-11-14 23:22:40 -08:00
..
fixtures import: Use pub_date to sort message ids. 2018-10-23 17:27:37 -05:00
images upload: Add test jpg image with no exif data. 2018-05-31 08:08:59 -07:00
__init__.py
test_alert_words.py alert words: Return the updated list when adding/removing words. 2018-07-13 01:01:00 +05:30
test_archive.py archives: Change the topic/<topic_name> code path to use topics prefix. 2018-07-14 10:39:35 +05:30
test_attachments.py lint: Prevent `self: Any` annotations. 2017-12-08 19:00:18 -08:00
test_audit_log.py peformance: Avoid broad StreamCount queries. 2018-08-17 08:14:42 -07:00
test_auth_backends.py auth: Use different defaults for name and email for fakeldap. 2018-08-31 17:07:02 +05:30
test_bots.py bots: Prevent bots from having duplicate full names. 2018-10-24 16:59:57 -07:00
test_bugdown.py subject -> topic: Fix bugdown tests. 2018-11-12 15:47:11 -08:00
test_cache.py tests: Add 100% test coverage to zerver/apps.py. 2018-05-14 10:36:10 -07:00
test_compatibility.py zerver/tests: Use python 3 syntax for typing in most files. 2017-11-16 21:52:01 -08:00
test_custom_profile_data.py custom profile field: Add length validation on field name and hint. 2018-08-17 08:37:27 -07:00
test_decorators.py Add alias support to REQ helpers for subject/topic. 2018-11-12 15:47:11 -08:00
test_digest.py Use modern huddle URLs in digest emails. 2018-11-12 12:01:09 -08:00
test_docs.py portico: Add security doc to /security. 2018-10-30 19:52:24 -07:00
test_email_change.py registration: Use tokenized noreply address in email change. 2018-06-23 12:03:30 -07:00
test_email_log.py emails: Don't log emails while running test suite. 2018-10-11 15:12:08 -07:00
test_email_mirror.py tests: Add coverage for email/stream encode/decode logic. 2018-08-13 13:23:29 -07:00
test_embedded_bot_system.py tests: Fix message.subject references. 2018-11-12 15:47:11 -08:00
test_event_queue.py tornado: Support using a port-aware file for dumping event queues. 2018-11-02 16:47:39 -07:00
test_events.py subject -> topic: Fix events tests. 2018-11-12 15:47:11 -08:00
test_external.py subject -> topic: Fix external tests. 2018-11-12 15:47:11 -08:00
test_feedback.py Add basic test for FeedbackBot. 2018-03-04 13:31:33 -08:00
test_gitter_importer.py import: Fix rendered_content in imported messages. 2018-08-09 15:12:53 -07:00
test_hipchat_importer.py hipchat: Make conversion work with UUID ids from Stride. 2018-11-14 23:22:40 -08:00
test_home.py portico: Make a few wording edits to the top of /hello. 2018-10-25 18:25:20 -07:00
test_hotspots.py hotspots: Add ALWAYS_SEND_ALL_HOTSPOTS in dev_settings. 2018-03-19 10:39:43 -07:00
test_i18n.py test_i18n: Stop using six.moves for SimpleCookie. 2018-05-09 20:45:45 -07:00
test_import_export.py tests: Fix message.subject references. 2018-11-12 15:47:11 -08:00
test_json_encoder_for_html.py zerver: Remove simplejson dependency. 2017-11-21 21:51:48 -08:00
test_legacy_subject.py Add alias support to REQ helpers for subject/topic. 2018-11-12 15:47:11 -08:00
test_link_embed.py preview: Hash cache keys for preview urls. 2018-10-14 09:28:57 -07:00
test_logging_handlers.py error reports: Ensure we filter API keys from query strings. 2018-10-19 15:03:14 -07:00
test_management_commands.py urls: Separate endpoint for signup and new realm email confirm. 2018-08-26 22:53:57 -07:00
test_message_edit_notifications.py zerver/lib/notifications: Add stream email notifications. 2018-07-14 12:19:33 +05:30
test_messages.py subject -> topic: Fix message tests. 2018-11-12 15:47:11 -08:00
test_middleware.py errors: Use a setting to control the stream for slow-query logs. 2018-07-30 17:40:20 -07:00
test_migrations.py migration_tests: Document the migration test framework. 2018-05-21 09:59:55 -07:00
test_muting.py muting: Correct agrammatical error message. 2018-08-27 14:12:03 -07:00
test_narrow.py Rename subject_matches -> topic_matches. 2018-11-12 15:47:11 -08:00
test_new_users.py emails: Add detection for ChromeOS User-Agents. 2018-09-21 10:41:05 -07:00
test_notifications.py thumbnails: Rename data-original to data-src-fullsize. 2018-07-30 13:00:23 -07:00
test_onboarding.py create_realm_internal_bots: Refactor to extract main op as a function. 2018-05-23 11:53:22 +05:30
test_openapi.py api docs: Load the OpenAPI file only when needed. 2018-08-08 09:00:28 -07:00
test_outgoing_webhook_interfaces.py subject -> topic: Fix webhook system tests. 2018-11-12 15:47:11 -08:00
test_outgoing_webhook_system.py subject -> topic: Fix webhook system tests. 2018-11-12 15:47:11 -08:00
test_presence.py presence: Allow bots to fetch realm presence data. 2018-10-15 12:51:28 -07:00
test_push_notifications.py subject -> topic: Fix push notification tests. 2018-11-12 15:47:11 -08:00
test_queue.py requirements: Upgrade pyflakes to 2.0.0. 2018-05-24 11:31:36 -07:00
test_queue_worker.py queue_processors: Rewrite MissedMessageWorker to always wait. 2018-10-24 14:43:36 -07:00
test_reactions.py reactions: Allow using emoji_name for removing reactions. 2018-07-11 19:41:43 +05:30
test_realm.py billing: Set message_visibility_limit to 10000 for Limited. 2018-10-26 17:10:38 -07:00
test_realm_domains.py models: Rename Realm.restricted_to_domain field. 2018-07-31 09:28:33 -07:00
test_realm_emoji.py emoji: Make uploading new realm emoji inaccessible for guest users. 2018-06-16 06:33:14 -07:00
test_realm_filters.py Realm filters: Allow `#`(hash) based URLs in filter patterns. 2018-08-08 11:06:33 -07:00
test_report.py tests: Refactor use of test and webhook data fixtures. 2018-04-19 21:50:29 -07:00
test_retention.py tests: Fix flaky test by using sets, not lists. 2018-10-25 13:47:37 -05:00
test_service_bot_system.py tests: Add coverage for service bot events. 2018-08-13 10:37:35 -07:00
test_sessions.py zerver/tests: Change use of typing.Text to str. 2018-05-10 14:19:49 -07:00
test_settings.py emoji: Bring back the feature of changing emojisets. 2018-08-31 11:52:24 -07:00
test_signup.py emails: Add one-click unsubscribe link to new login emails. 2018-11-08 14:39:33 -08:00
test_slack_importer.py gitter/slack/hipchat: Remove "subject" from conversions. 2018-11-12 15:47:11 -08:00
test_slack_message_conversion.py import: Add slack import files in zerver/data_import directory. 2018-08-01 11:52:14 -07:00
test_soft_deactivation.py populate_db: Add new user of "guest" type. 2018-04-20 16:20:00 -07:00
test_subdomains.py zerver/tests: Use python 3 syntax for typing (part 4). 2017-11-21 22:01:19 -08:00
test_submessage.py events: Pass a realm object into send_event. 2018-11-02 16:47:39 -07:00
test_subs.py tests: Fix message.subject references. 2018-11-12 15:47:11 -08:00
test_templates.py markdown: Add extension for creating tabbed sections on /help and /api. 2018-09-18 13:49:34 -07:00
test_thumbnail.py camo: Change CAMO_URI setting value for test suite. 2018-10-26 16:51:54 -07:00
test_timestamp.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_tornado.py subject -> topic: Fix tornado tests. 2018-11-12 15:47:11 -08:00
test_tutorial.py zerver/tests: Use python 3 syntax for typing. 2017-11-08 12:50:27 -08:00
test_type_debug.py mypy: Remove some now-unnecessary type: ignores. 2018-03-28 10:39:05 -07:00
test_typing.py tests: Replace api_auth usages with auth methods in zerver/tests. 2017-12-18 09:24:09 -05:00
test_unread.py push notifications: Add support for removing GCM push notifications. 2018-08-10 13:58:39 -07:00
test_upload.py avatar: Allow API authentication for /avatar/ routes. 2018-10-11 15:52:29 -07:00
test_urls.py django-2.0: Shift to resolvers from urlresolvers. 2018-01-30 10:53:54 -08:00
test_user_groups.py subject -> topic: Fix user group tests. 2018-11-12 15:47:11 -08:00
test_users.py /json/users/: Add user profile data variable to update values. 2018-10-31 15:36:44 -07:00
test_webhooks_common.py webhook_decorator: Support notifying bot owner on invalid JSON. 2018-11-14 22:35:56 -08:00
test_widgets.py subject -> topic: Fix widget tests. 2018-11-12 15:47:11 -08:00
test_zcommand.py zcommand: Raise error when command doesn't begin with a slash. 2018-07-01 20:32:36 -04:00
test_zephyr.py users: Get all API keys via wrapper method. 2018-08-08 16:35:17 -07:00
tests.py