fix: unittest

This commit is contained in:
debugtalk
2022-03-18 21:48:42 +08:00
parent 1b2ec9175b
commit f1158457d5
4 changed files with 75 additions and 10 deletions

View File

@@ -220,11 +220,11 @@ def concatenate(*args: List[str]) -> str:
return result
def setup_hook_example(name):
logging.warn("setup_hook_example")
logging.warning("setup_hook_example")
return f"setup_hook_example: {name}"
def teardown_hook_example(name):
logging.warn("teardown_hook_example")
logging.warning("teardown_hook_example")
return f"teardown_hook_example: {name}"