mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Fix tests
This commit is contained in:
parent
c964253204
commit
b25356d2fa
|
@ -288,7 +288,7 @@ class DeclarativeContainerInstanceTests(unittest.TestCase):
|
||||||
self.assertEqual(_init2.init_counter, 2)
|
self.assertEqual(_init2.init_counter, 2)
|
||||||
self.assertEqual(_init2.shutdown_counter, 2)
|
self.assertEqual(_init2.shutdown_counter, 2)
|
||||||
|
|
||||||
def reset_singletons(self):
|
def test_reset_singletons(self):
|
||||||
class SubSubContainer(containers.DeclarativeContainer):
|
class SubSubContainer(containers.DeclarativeContainer):
|
||||||
singleton = providers.Singleton(object)
|
singleton = providers.Singleton(object)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user