mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-07-06 05:13:13 +03:00
Add test
This commit is contained in:
parent
35e60e1d47
commit
aab276b066
|
@ -137,3 +137,10 @@ class ProvidedInstancePuzzleTests(unittest.TestCase):
|
||||||
'foo-bar',
|
'foo-bar',
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
class ProvidedInstanceInBaseClassTests(unittest.TestCase):
|
||||||
|
|
||||||
|
def test_provided_attribute(self):
|
||||||
|
provider = providers.Provider()
|
||||||
|
assert isinstance(provider.provided, providers.ProvidedInstance)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user