Remove unnecessary injection tests

This commit is contained in:
Roman Mogilatov 2016-11-02 12:50:13 +02:00
parent 776da6dd2b
commit 6b1ff707a2

View File

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