From f1cc113e3324450c7b1c006ce3ca0a9529526cd2 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Sun, 14 Jun 2020 17:09:01 -0400 Subject: [PATCH] Update unit tests --- tests/unit/providers/test_list_py2_py3.py | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/tests/unit/providers/test_list_py2_py3.py b/tests/unit/providers/test_list_py2_py3.py index b23737e7..e2358934 100644 --- a/tests/unit/providers/test_list_py2_py3.py +++ b/tests/unit/providers/test_list_py2_py3.py @@ -4,26 +4,10 @@ import sys import unittest2 as unittest -from dependency_injector import ( - providers, - errors, -) +from dependency_injector import providers -class Example(object): - - def __init__(self, init_arg1=None, init_arg2=None, init_arg3=None, - init_arg4=None): - self.init_arg1 = init_arg1 - self.init_arg2 = init_arg2 - self.init_arg3 = init_arg3 - self.init_arg4 = init_arg4 - - self.attribute1 = None - self.attribute2 = None - - -class FactoryTests(unittest.TestCase): +class ListTests(unittest.TestCase): def test_is_provider(self): self.assertTrue(providers.is_provider(providers.List()))