Update tests

This commit is contained in:
Roman Mogylatov 2020-07-22 12:06:33 -04:00
parent b153d14e21
commit dbf4edbd25

View File

@ -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):