mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 11:04:01 +03:00
Fix test of Injection.value with catalog bundle
This commit is contained in:
parent
824ed4f3e9
commit
b61e3ee007
|
@ -28,8 +28,7 @@ class InjectionTests(unittest.TestCase):
|
|||
"""Test catalog."""
|
||||
|
||||
provider = di.Provider()
|
||||
injection = di.Injection('some_arg_name',
|
||||
TestCatalog.Bundle(TestCatalog.provider))
|
||||
injection = di.Injection(TestCatalog.Bundle(TestCatalog.provider))
|
||||
|
||||
self.assertIsInstance(injection.value, TestCatalog.Bundle)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user