mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
(1) testcase: session variables > step variables > config variables (2) testsuite: testcase variables > config variables (3) testsuite testcase variables > testcase config variables
18 lines
361 B
Python
18 lines
361 B
Python
from httprunner import __version__
|
|
|
|
|
|
def get_httprunner_version():
|
|
return __version__
|
|
|
|
|
|
def sum_two(m, n):
|
|
return m + n
|
|
|
|
|
|
def get_testcase_config_variables():
|
|
return {"foo1": "testcase_config_bar1", "foo2": "testcase_config_bar2"}
|
|
|
|
|
|
def get_testsuite_config_variables():
|
|
return {"foo1": "testsuite_config_bar1", "foo2": "testsuite_config_bar2"}
|