mirror of https://github.com/zulip/zulip.git
ffe364c719
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.) |
||
---|---|---|
.. | ||
fixtures | ||
lib | ||
management | ||
migrations | ||
templatetags | ||
tests | ||
views | ||
worker | ||
__init__.py | ||
context_processors.py | ||
decorator.py | ||
exceptions.py | ||
filters.py | ||
forms.py | ||
logging_handlers.py | ||
middleware.py | ||
models.py | ||
static_header.txt | ||
storage.py | ||
tornadoviews.py |