fix #173: testset hook in config block

This commit is contained in:
httprunner
2018-05-11 00:44:08 +08:00
parent 2bb84b3874
commit 2900f5b955
4 changed files with 75 additions and 3 deletions

View File

@@ -81,3 +81,6 @@ def teardown_hook_sleep_N_secs(response, n_secs):
time.sleep(0.1)
else:
time.sleep(n_secs)
def hook_print(msg):
print(msg)