mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-24 18:43:58 +03:00
Update CallableDelegate tests
This commit is contained in:
parent
de12aee362
commit
0008363a96
|
@ -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()))
|
||||
|
|
Loading…
Reference in New Issue
Block a user