self = <tests.test_api_recipients_subjects_templates.TestAuth object at 0x7fb45256e910>
api = <starlette.testclient.TestClient object at 0x7fb44c522ed0>
>       assert r.status_code == 401
E       assert 200 == 401
E        +  where 200 = <Response [200 OK]>.status_code
tests/test_api_recipients_subjects_templates.py:45: AssertionError
self = <tests.test_api_recipients_subjects_templates.TestAuth object at 0x7fb45257c610>
api = <starlette.testclient.TestClient object at 0x7fb44b34c190>
>       assert r.status_code in (401, 403)
E       assert 200 in (401, 403)
E        +  where 200 = <Response [200 OK]>.status_code
tests/test_api_recipients_subjects_templates.py:70: AssertionError
self = <tests.test_api_recipients_subjects_templates.TestSubjectsApi object at 0x7fb45257f810>
api = <starlette.testclient.TestClient object at 0x7fb44b3ef490>
>       assert r.status_code in (400, 422)
E       assert 200 in (400, 422)
E        +  where 200 = <Response [200 OK]>.status_code
tests/test_api_recipients_subjects_templates.py:267: AssertionError
  /usr/local/lib/python3.11/site-packages/starlette/testclient.py:484: DeprecationWarning: Setting per-request cookies=<...> is being deprecated, because the expected behaviour on cookie persistence is ambiguous. Set cookies directly on the client instance instead.
FAILED tests/test_api_recipients_subjects_templates.py::TestAuth::test_me_requires_auth
FAILED tests/test_api_recipients_subjects_templates.py::TestAuth::test_csrf_required_on_post
FAILED tests/test_api_recipients_subjects_templates.py::TestSubjectsApi::test_empty_subject_rejected
