mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
This new constructor is a beginning to making Request a bit more easy to deal with for standard testing needs. With this commit, users can now specify a `user` and `authenticated` state while constructing a Request: request = Request(user=some_user, authenticated=True) By default, the `authenticated` kwarg is set to False and `user` is set to `aurweb.testing.requests.User()`. Signed-off-by: Kevin Morris <kevr@0cost.org> |
||
---|---|---|
.. | ||
__init__.py | ||
alpm.py | ||
email.py | ||
filelock.py | ||
git.py | ||
html.py | ||
requests.py | ||
smtp.py |