Test for is_provider check for providers.ExternalDependency
This commit is contained in:
parent
3754c7a6c5
commit
3e3f782ab8
|
@ -377,6 +377,10 @@ class ExternalDependencyTests(unittest.TestCase):
|
||||||
|
|
||||||
"""ExternalDependency test cases."""
|
"""ExternalDependency test cases."""
|
||||||
|
|
||||||
|
def test_is_provider(self):
|
||||||
|
"""Test `is_provider` check."""
|
||||||
|
self.assertTrue(is_provider(ExternalDependency(instance_of=object)))
|
||||||
|
|
||||||
def test_call_satisfied(self):
|
def test_call_satisfied(self):
|
||||||
"""Test call of satisfied external dependency."""
|
"""Test call of satisfied external dependency."""
|
||||||
provider = ExternalDependency(instance_of=object)
|
provider = ExternalDependency(instance_of=object)
|
||||||
|
|
Loading…
Reference in New Issue