mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 01:26:51 +03:00
Remove unnecessary injection tests
This commit is contained in:
parent
776da6dd2b
commit
6b1ff707a2
|
@ -1,4 +1,4 @@
|
|||
"""Dependency injector container unit tests."""
|
||||
"""Dependency injector injections unit tests."""
|
||||
|
||||
import unittest2 as unittest
|
||||
|
||||
|
@ -8,9 +8,6 @@ from dependency_injector import providers
|
|||
|
||||
class PositionalInjectionTests(unittest.TestCase):
|
||||
|
||||
def test_init_with_kwargs(self):
|
||||
injections.PositionalInjection(value=1)
|
||||
|
||||
def test_isinstance(self):
|
||||
injection = injections.PositionalInjection(1)
|
||||
self.assertIsInstance(injection, injections.Injection)
|
||||
|
@ -32,9 +29,6 @@ class PositionalInjectionTests(unittest.TestCase):
|
|||
|
||||
class NamedInjectionTests(unittest.TestCase):
|
||||
|
||||
def test_init_with_kwargs(self):
|
||||
injections.NamedInjection(name='name', value=1)
|
||||
|
||||
def test_isinstance(self):
|
||||
injection = injections.NamedInjection('name', 1)
|
||||
self.assertIsInstance(injection, injections.Injection)
|
||||
|
|
Loading…
Reference in New Issue
Block a user