diff --git a/tests/test_error_shape.py b/tests/test_error_shape.py index 2398940b..b5f16b30 100644 --- a/tests/test_error_shape.py +++ b/tests/test_error_shape.py @@ -422,7 +422,7 @@ async def test_bad_signature_token_returns_401(ds_error_shape): response = await ds_error_shape.client.get( "/-/actor.json", headers={"Authorization": "Bearer dstok_garbage"} ) - data = assert_canonical_error(response, 401) + assert_canonical_error(response, 401) assert response.headers["www-authenticate"].startswith("Bearer")