zulip/zerver
Steve Howell ffe364c719 Don't pass UserProfile object to client_put().
This was in AdminCreateUserTest.test_create_user_backend().
For end to end tests we are logged in, and we need to verify
that our decorators add UserProfile to the parameters of
the view on our behalf, so that we don't get false positives.

In an upcoming commit, we will want to be able to serialize
the parameters for client_put to produce url coverage reports,
so that is another reason not to pass in the UserProfile
object.  (That was how this was discovered.)
2016-07-28 13:57:28 -07:00
..
fixtures Add test_build_narrow_filter(). 2016-07-20 11:04:00 -07:00
lib Delete cache entry for user profile. 2016-07-28 13:43:14 -07:00
management Rename local_settings.py symlink to prod_settings.py. 2016-07-19 20:59:59 -07:00
migrations Remove old MitUser model and related code. 2016-07-26 20:30:12 -07:00
templatetags Cleanup remaining usage of % comprehensions without explicit tuples. 2015-12-05 15:29:42 -08:00
tests Don't pass UserProfile object to client_put(). 2016-07-28 13:57:28 -07:00
views Remove old MitUser model and related code. 2016-07-26 20:30:12 -07:00
worker settings: Extract settings.VERBOSE_SUPPORT_OFFERS. 2016-07-19 15:28:41 -07:00
__init__.py [manual] Rename Django app from zephyr to zerver. 2013-08-06 07:39:36 -04:00
context_processors.py settings: Extract CUSTOM_LOGO_URL. 2016-07-19 15:28:41 -07:00
decorator.py Add links after `type: ignore`s. 2016-07-22 13:59:31 -07:00
exceptions.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
filters.py Annotate zerver.exceptions, zerver.filters, zerver.logging_handlers. 2016-06-04 22:51:18 -07:00
forms.py Clean up and document clean_email code path. 2016-07-26 20:30:12 -07:00
logging_handlers.py settings: Extract settings.STAGING_ERROR_NOTIFICATIONS. 2016-07-19 15:28:41 -07:00
middleware.py slow queries: Include full log line in slow query log. 2016-07-12 19:12:49 -07:00
models.py Remove old MitUser model and related code. 2016-07-26 20:30:12 -07:00
static_header.txt Update copyright to 2014. 2014-02-04 15:51:53 -05:00
storage.py Remove templates, styles and js through storage. 2016-07-09 07:33:35 -07:00
tornadoviews.py zerver/tornado.py: Convert queue_id to str. 2016-07-04 02:58:57 +05:30