From 2e05987e7e9c7ce46c3c299c14ede9b9492b5b87 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Thu, 4 Aug 2022 10:49:08 -0400 Subject: [PATCH] Revert "UT: Hacky workaround in StubDIContainer to get the tests passing for now" This reverts commit eb4f704597d6707e8babbd48dc9257bc42ff3ea0. This was resolved by 5f91e39 instead. --- monkey/tests/common/stub_di_container.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/monkey/tests/common/stub_di_container.py b/monkey/tests/common/stub_di_container.py index 85034fc79..bed434145 100644 --- a/monkey/tests/common/stub_di_container.py +++ b/monkey/tests/common/stub_di_container.py @@ -7,10 +7,6 @@ T = TypeVar("T") class StubDIContainer(DIContainer): - def __init__(self): - super().__init__() - self._convention_registry[(Sequence[str], "local_ip_addresses")] = [] - def resolve(self, type_: Type[T]) -> T: try: return super().resolve(type_)