MyPy in tests: Ignore StubTreq being a stub and not having all the attrs

This commit is contained in:
Florian Sesser 2024-11-14 11:58:06 +00:00
parent 4f20612f3c
commit 7efc31d552

View File

@ -716,7 +716,7 @@ class GenericHTTPAPITests(SyncTestCase):
"""
client = StubTreq(self.http.http_server.get_resource())
response = self.http.result_of_with_flush(
client.request(
client.request( # type: ignore[attr-defined]
"GET",
"http://127.0.0.1/storage/v1/version",
),