api = <starlette.testclient.TestClient object at 0x7fc476c11110>

    def test_register_login_logout_me(self, api):
        # registered + logged in by fixture; verify /auth/me
        r = api.get("/auth/me")
        assert r.status_code == 200
        body = r.json()
>       assert body["user"]["email"] == api.email
E       KeyError: 'user'

tests/test_api_recipients_subjects_templates.py:34: KeyError
--
api = <starlette.testclient.TestClient object at 0x7fc475ad06d0>
name = 'List A'

    def _mk_list(self, api, name="List A"):
        r = api.post("/recipients/lists", headers=H(api), data={"name": name})
>       assert r.status_code in (200, 201), r.text
E       AssertionError: {"detail":[{"type":"model_attributes_type","loc":["body"],"msg":"Input should be a valid dictionary or object to extract fields from","input":"name=List+A"}]}
E       assert 422 in (200, 201)
E        +  where 422 = <Response [422 Unprocessable Entity]>.status_code

tests/test_api_recipients_subjects_templates.py:106: AssertionError
