mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-25 19:14:00 +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."""
|
"""Test catalog."""
|
||||||
|
|
||||||
provider = di.Provider()
|
provider = di.Provider()
|
||||||
injection = di.Injection('some_arg_name',
|
injection = di.Injection(TestCatalog.Bundle(TestCatalog.provider))
|
||||||
TestCatalog.Bundle(TestCatalog.provider))
|
|
||||||
|
|
||||||
self.assertIsInstance(injection.value, TestCatalog.Bundle)
|
self.assertIsInstance(injection.value, TestCatalog.Bundle)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user