Skip to content

Commit

Permalink
Update typing in test
Browse files Browse the repository at this point in the history
  • Loading branch information
rmk135 committed Jul 25, 2022
1 parent d6b580f commit b40c8f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/unit/wiring/test_wiring_with_wraps_decorator_py36.py
Expand Up @@ -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
Expand All @@ -30,7 +30,7 @@ def wrapper(value1: str = Provide[Container.config.value1]):
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
Expand Down

0 comments on commit b40c8f1

Please sign in to comment.