Skip to content

Commit

Permalink
fix by review
Browse files Browse the repository at this point in the history
  • Loading branch information
osherdp committed Aug 16, 2018
1 parent 1e0c15c commit 1b47567
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/rotest/core/abstract_test.py
Expand Up @@ -274,11 +274,11 @@ def _decorate_teardown(self, teardown_method, result):
"""Decorate the tearDown method to handle resource release.
Args:
teardown_method (method): the original tearDown method.
teardown_method (function): the original tearDown method.
result (rotest.core.result.result.Result): test result information.
Returns:
method. the wrapped tearDown method.
function. the wrapped tearDown method.
"""
@wraps(teardown_method)
def teardown_method_wrapper(*args, **kwargs):
Expand Down
4 changes: 2 additions & 2 deletions src/rotest/core/case.py
Expand Up @@ -106,10 +106,10 @@ def _decorate_setup(self, setup_method):
"""Decorate setUp method to handle link skips, and resources requests.
Args:
setup_method (method): the original setUp method.
setup_method (function): the original setUp method.
Returns:
method. the wrapped setUp method.
function. the wrapped setUp method.
"""
@wraps(setup_method)
def setup_method_wrapper(*args, **kwargs):
Expand Down

0 comments on commit 1b47567

Please sign in to comment.