From a37f1fc2568895779cd4af1d340458c3f61871d3 Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Fri, 23 Oct 2015 09:59:25 +0300 Subject: [PATCH] Fix Callable.injections attribute test --- tests/test_providers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_providers.py b/tests/test_providers.py index ce1ba801..3eecde77 100644 --- a/tests/test_providers.py +++ b/tests/test_providers.py @@ -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)