From 6b1ff707a2de3787b0d589f3911f8a34a256cdaa Mon Sep 17 00:00:00 2001 From: Roman Mogilatov Date: Wed, 2 Nov 2016 12:50:13 +0200 Subject: [PATCH] Remove unnecessary injection tests --- tests/test_injections.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/test_injections.py b/tests/test_injections.py index 0f6aaf07..5ee6036c 100644 --- a/tests/test_injections.py +++ b/tests/test_injections.py @@ -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)