mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2025-04-15 06:32:10 +03:00
Add test
This commit is contained in:
parent
35e60e1d47
commit
aab276b066
|
@ -137,3 +137,10 @@ class ProvidedInstancePuzzleTests(unittest.TestCase):
|
|||
'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