mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-03 11:44:11 +00:00
Suppress type errors in test_checker
This commit is contained in:
parent
86f88a4aa5
commit
d2d3f1f4a9
@ -62,7 +62,7 @@ class FakeClient(object):
|
|||||||
|
|
||||||
|
|
||||||
@implementer(IServer)
|
@implementer(IServer)
|
||||||
class FakeServer(object):
|
class FakeServer(object): # type: ignore # incomplete interface
|
||||||
|
|
||||||
def get_name(self):
|
def get_name(self):
|
||||||
return "fake name"
|
return "fake name"
|
||||||
@ -75,7 +75,7 @@ class FakeServer(object):
|
|||||||
|
|
||||||
|
|
||||||
@implementer(ICheckResults)
|
@implementer(ICheckResults)
|
||||||
class FakeCheckResults(object):
|
class FakeCheckResults(object): # type: ignore # incomplete interface
|
||||||
|
|
||||||
def __init__(self, si=None,
|
def __init__(self, si=None,
|
||||||
healthy=False, recoverable=False,
|
healthy=False, recoverable=False,
|
||||||
@ -106,7 +106,7 @@ class FakeCheckResults(object):
|
|||||||
|
|
||||||
|
|
||||||
@implementer(ICheckAndRepairResults)
|
@implementer(ICheckAndRepairResults)
|
||||||
class FakeCheckAndRepairResults(object):
|
class FakeCheckAndRepairResults(object): # type: ignore # incomplete interface
|
||||||
|
|
||||||
def __init__(self, si=None,
|
def __init__(self, si=None,
|
||||||
repair_attempted=False,
|
repair_attempted=False,
|
||||||
|
Loading…
Reference in New Issue
Block a user