zulip/zerver/tests
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
..
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_auth_backends.py Add client_get() test helper. 2016-07-27 20:49:33 -07:00
test_bugdown.py bugdown: Remove hardcoding of mit.edu for zephyr_mirror realm config. 2016-07-26 20:30:12 -07:00
test_decorators.py Add client_get() test helper. 2016-07-27 20:49:33 -07:00
test_email_mirror.py Add client_post() test helper. 2016-07-27 20:49:32 -07:00
test_events.py Allow fetching subscribers for streams the user has never subscribed to. 2016-07-18 16:24:19 -07:00
test_external.py Use self.client_delete() wrapper in more places. 2016-07-27 20:49:33 -07:00
test_hooks.py Add client_post() test helper. 2016-07-27 20:49:32 -07:00
test_i18n.py Add client_get() test helper. 2016-07-27 20:49:33 -07:00
test_management_commands.py Add client_get() test helper. 2016-07-27 20:49:33 -07:00
test_messages.py Add client_post() test helper. 2016-07-27 20:49:32 -07:00
test_narrow.py Add client_get() test helper. 2016-07-27 20:49:33 -07:00
test_realm_emoji.py Add client_get() test helper. 2016-07-27 20:49:33 -07:00
test_signup.py Add client_get() test helper. 2016-07-27 20:49:33 -07:00
test_subs.py Use self.client_delete() wrapper in more places. 2016-07-27 20:49:33 -07:00
test_templates.py Annotate much of the rest of zerver/tests. 2016-06-04 11:53:20 -07:00
test_type_debug.py Add automated tests for zerver/lib/type_debug.py. 2016-07-23 14:38:28 -07:00
test_unread.py Add client_post() test helper. 2016-07-27 20:49:32 -07:00
test_upload.py Add client_get() test helper. 2016-07-27 20:49:33 -07:00
test_urls.py Remove rest_dispatch hack and optimize imports. 2016-06-24 16:11:03 -07:00
tests.py Don't pass UserProfile object to client_put(). 2016-07-28 13:57:28 -07:00