mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 09:36:48 +03:00
Fix Callable.injections attribute test
This commit is contained in:
parent
0da60aafef
commit
a37f1fc256
|
@ -757,7 +757,7 @@ class CallableTests(unittest.TestCase):
|
|||
|
||||
def test_injections(self):
|
||||
"""Test getting a full list of injections using injections property."""
|
||||
provider = di.Factory(self.example, 1, 2, arg3=3, arg4=4)
|
||||
provider = di.Callable(self.example, 1, 2, arg3=3, arg4=4)
|
||||
self.assertEquals(len(provider.injections), 4)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user