mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-04-13 05:43:03 +00:00
Revert "MyPy in tests: Ignore StubTreq being a stub and not having all the attrs"
This reverts commit 7efc31d55246fdf57968862c6f36fa34c2a14585. Greetings @meejah! This is mostly to show you (in CI) the type error that MyPy reports for StubTreq in the tests and that it has nothing to do with the earlier changing changing type annotations in the code.
This commit is contained in:
parent
13fb05af61
commit
8d31ebe09e
@ -716,7 +716,7 @@ class GenericHTTPAPITests(SyncTestCase):
|
||||
"""
|
||||
client = StubTreq(self.http.http_server.get_resource())
|
||||
response = self.http.result_of_with_flush(
|
||||
client.request( # type: ignore[attr-defined]
|
||||
client.request(
|
||||
"GET",
|
||||
"http://127.0.0.1/storage/v1/version",
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user