From 1a51b29cbe81fa59cc0c7055614f82d14dfa3894 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Tue, 16 Feb 2021 11:26:32 -0500 Subject: [PATCH] Update tests --- tests/unit/providers/test_async_py36.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/tests/unit/providers/test_async_py36.py b/tests/unit/providers/test_async_py36.py index cd9e7a3e..b4fb2252 100644 --- a/tests/unit/providers/test_async_py36.py +++ b/tests/unit/providers/test_async_py36.py @@ -245,10 +245,8 @@ class FactoryTests(AsyncTestCase): with self.assertRaises(TypeError) as context: self._run(container.client()) - self.assertEqual( - str(context.exception), - "create_client() got an unexpected keyword argument 'resource1'", - ) + self.assertIn("create_client() got", str(context.exception)) + self.assertIn("unexpected keyword argument", str(context.exception)) def test_attributes_injection(self): class ContainerWithAttributes(containers.DeclarativeContainer):