mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-12 02:21:29 +08:00
26 lines
468 B
Python
26 lines
468 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"}
|
|
|
|
|
|
def get_app_version():
|
|
return [3.1, 3.0]
|
|
|
|
|
|
def calculate_two_nums(a, b=1):
|
|
return [a + b, b - a]
|