zulip/zerver
Michael 854d70e7c6 test_events: Verify format of event dicts precisely.
This is basically just using the new check_dict_only everywhere, with
a few exceptions:
* New self.check_events_dict automatically adds the id field to avoid
  duplicating it ~80 times.
* Set log=False for many of the testing action functions to remove the
  timestamp field from their returned event dictionaries, since it's
  not needed and is the result of a deprecated log_event function.

Wasn't sure if the subscription_field list in do_test_subscribe_events
could contain optional arguments, so I left the call to check_dict on
along with a TODO.

Fixes: #1370.
2017-04-22 11:22:41 -07:00
..
fixtures git integrations: Expand details in commit push notifications. 2017-04-21 11:07:44 -07:00
lib tests: Add wrapper for client.logout in ZulipTestCase. 2017-04-21 21:45:55 -07:00
management Replace timezone.now with timezone_now. 2017-04-16 12:28:56 -07:00
migrations attachment: Make path_id field unique. 2017-04-18 21:27:28 -07:00
templatetags render_markdown_path: Remove unnecessary and broken caching. 2017-04-12 20:29:04 -07:00
tests test_events: Verify format of event dicts precisely. 2017-04-22 11:22:41 -07:00
tornado decorator: Add support for Django internal_notify_view. 2017-04-18 09:59:07 -07:00
views redirect_to_main_site: Handle is_signup parameter. 2017-04-20 11:14:28 -07:00
webhooks webhooks/beanstalk: Filter specific Git branches. 2017-04-21 22:06:11 -02:30
worker Handle unicode characters in email mirror. 2017-04-05 12:18:41 -07:00
__init__.py caching: Add configuration class for post-migration cache flushing. 2016-10-27 23:26:34 -07:00
apps.py Add notifications on new logins to Zulip. 2017-03-25 16:50:52 -07:00
context_processors.py context: Include realm name, icon, and description. 2017-04-17 22:15:51 -07:00
decorator.py Add support infrastructure for push notification bouncer service. 2017-04-18 23:03:06 -07:00
exceptions.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
filters.py mypy: Added Dict, List and Set imports. 2017-03-04 14:33:44 -08:00
forms.py forms: Fix minor pep-8 lint error. 2017-04-20 11:39:19 -07:00
logging_handlers.py logging_handlers: Avoid super long subject lines. 2017-03-26 13:10:43 -07:00
middleware.py Add notifications on new logins to Zulip. 2017-03-25 16:50:52 -07:00
models.py models: Extract AbstractPushDeviceToken. 2017-04-18 23:00:10 -07:00
signals.py Replace timezone.get_current_timezone_name with timezone_get_current_timezone_name. 2017-04-16 12:28:56 -07:00
static_header.txt Update static_header.txt with new license information. 2016-08-13 00:37:21 -07:00
storage.py docs: Add discussion of VFL to front-end-build-process.md. 2017-03-04 21:14:17 -08:00