mirror of
https://github.com/httprunner/httprunner.git
synced 2026-05-20 23:59:49 +08:00
test: add example tests on httpbin
This commit is contained in:
@@ -123,9 +123,9 @@ def multipart_encoder(**kwargs):
|
||||
is_exists_file = os.path.isfile(value)
|
||||
else:
|
||||
# value is not absolute file path, check if it is relative file path
|
||||
from httprunner.loader import get_pwd
|
||||
from httprunner.loader import project_working_directory
|
||||
|
||||
_file_path = os.path.join(get_pwd(), value)
|
||||
_file_path = os.path.join(project_working_directory, value)
|
||||
is_exists_file = os.path.isfile(_file_path)
|
||||
|
||||
if is_exists_file:
|
||||
|
||||
Reference in New Issue
Block a user