Satisfy type check in test_helper.FakeClient.

This commit is contained in:
Jason R. Coombs 2020-11-29 16:30:13 -05:00
parent fc19d1baf4
commit 54e4549836

View File

@ -19,6 +19,12 @@ from functools import (
)
import attr
try:
from typing import List
from allmydata.introducer.client import IntroducerClient
except ImportError:
pass
from twisted.internet import defer
from twisted.trial import unittest
from twisted.application import service
@ -125,7 +131,7 @@ class FakeCHKCheckerAndUEBFetcher(object):
))
class FakeClient(service.MultiService):
introducer_clients = []
introducer_clients = [] # type: List[IntroducerClient]
DEFAULT_ENCODING_PARAMETERS = {"k":25,
"happy": 75,
"n": 100,