aurweb/aurweb/testing
Kevin Morris 67dd432e86
feat(testing.requests): add Request.__init__
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>
2021-12-31 18:31:48 -08:00
..
__init__.py add noop testing utility 2021-11-28 19:55:08 -08:00
alpm.py change(aurblup): converted to use aurweb.db ORM 2021-11-28 19:55:08 -08:00
email.py feat(testing.email): add Email.dump 2021-12-09 15:10:04 -08:00
filelock.py fix(conftest): use synchronization locks for setup_database 2021-11-28 19:55:11 -08:00
git.py change(rendercomment): converted to use aurweb.db ORM 2021-11-28 19:55:11 -08:00
html.py feat(FastAPI): add get_(errors|successes) testing HTML helpers 2021-10-09 22:04:48 -07:00
requests.py feat(testing.requests): add Request.__init__ 2021-12-31 18:31:48 -08:00
smtp.py change(notify): converted to use aurweb.db ORM 2021-11-28 19:55:10 -08:00