Fix Callable.injections attribute test

This commit is contained in:
Roman Mogilatov 2015-10-23 09:59:25 +03:00
parent 0da60aafef
commit a37f1fc256

View File

@ -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)