forked from p15670423/monkey
Revert "UT: Hacky workaround in StubDIContainer to get the tests passing for now"
This reverts commiteb4f704597
. This was resolved by5f91e39
instead.
This commit is contained in:
parent
5f91e39b39
commit
2e05987e7e
|
@ -7,10 +7,6 @@ T = TypeVar("T")
|
||||||
|
|
||||||
|
|
||||||
class StubDIContainer(DIContainer):
|
class StubDIContainer(DIContainer):
|
||||||
def __init__(self):
|
|
||||||
super().__init__()
|
|
||||||
self._convention_registry[(Sequence[str], "local_ip_addresses")] = []
|
|
||||||
|
|
||||||
def resolve(self, type_: Type[T]) -> T:
|
def resolve(self, type_: Type[T]) -> T:
|
||||||
try:
|
try:
|
||||||
return super().resolve(type_)
|
return super().resolve(type_)
|
||||||
|
|
Loading…
Reference in New Issue