From 0008363a96cd69acd41bb830bd7513b58eef102e Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Sun, 9 Jul 2017 23:37:51 +0300 Subject: [PATCH] Update CallableDelegate tests --- tests/unit/providers/test_callables.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/unit/providers/test_callables.py b/tests/unit/providers/test_callables.py index e9677807..46290c86 100644 --- a/tests/unit/providers/test_callables.py +++ b/tests/unit/providers/test_callables.py @@ -262,7 +262,7 @@ class CallableDelegateTests(unittest.TestCase): def test_is_delegate(self): self.assertIsInstance(self.delegate, providers.Delegate) - def test_init_with_not_factory(self): + def test_init_with_not_callable(self): self.assertRaises(errors.Error, providers.CallableDelegate, providers.Object(object()))