mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-05-22 05:26:09 +03:00
Update tests
This commit is contained in:
parent
b153d14e21
commit
dbf4edbd25
|
@ -255,10 +255,10 @@ class DependencyTests(unittest.TestCase):
|
|||
except ImportError:
|
||||
import collections as collections_abc
|
||||
|
||||
provider = providers.Dependency(collections_abc.Hashable)
|
||||
provider = providers.Dependency(collections_abc.Mapping)
|
||||
provider.provided_by(providers.Factory(dict))
|
||||
|
||||
self.assertIsInstance(provider(), collections_abc.Hashable)
|
||||
self.assertIsInstance(provider(), collections_abc.Mapping)
|
||||
self.assertIsInstance(provider(), dict)
|
||||
|
||||
def test_is_provider(self):
|
||||
|
|
Loading…
Reference in New Issue
Block a user