From b40c8f10769645e02c9a45e6de69397c8d8a8ca5 Mon Sep 17 00:00:00 2001 From: Roman Mogylatov Date: Mon, 25 Jul 2022 18:27:23 -0400 Subject: [PATCH] Update typing in test --- tests/unit/wiring/test_wiring_with_wraps_decorator_py36.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/wiring/test_wiring_with_wraps_decorator_py36.py b/tests/unit/wiring/test_wiring_with_wraps_decorator_py36.py index da853933..f913ed33 100644 --- a/tests/unit/wiring/test_wiring_with_wraps_decorator_py36.py +++ b/tests/unit/wiring/test_wiring_with_wraps_decorator_py36.py @@ -21,7 +21,7 @@ def container(): def decorator1(func): @functools.wraps(func) @inject - def wrapper(value1: str = Provide[Container.config.value1]): + def wrapper(value1: int = Provide[Container.config.value1]): result = func() return result + value1 return wrapper @@ -30,7 +30,7 @@ def decorator1(func): def decorator2(func): @functools.wraps(func) @inject - def wrapper(value2: str = Provide[Container.config.value2]): + def wrapper(value2: int = Provide[Container.config.value2]): result = func() return result + value2 return wrapper