mirror of
https://github.com/httprunner/httprunner.git
synced 2026-08-28 19:47:14 +08:00
update subcommand curl docs
This commit is contained in:
@@ -66,8 +66,8 @@ func TestLoadCurlCase(t *testing.T) {
|
||||
// curl -F "dummyName=dummyFile" -F file1=@file1.txt -F file2=@file2.txt https://httpbin.org/post
|
||||
if !assert.Equal(t, map[string]interface{}{
|
||||
"dummyName": "dummyFile",
|
||||
"file1": "@file1.txt",
|
||||
"file2": "@file2.txt",
|
||||
"file1": "file1.txt",
|
||||
"file2": "file2.txt",
|
||||
}, tCase.TestSteps[3].Request.Upload) {
|
||||
t.Fatal()
|
||||
}
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# NOTE: Generated By hrp v4.1.5, DO NOT EDIT!
|
||||
# NOTE: Generated By hrp v4.1.6, DO NOT EDIT!
|
||||
|
||||
import sys
|
||||
import os
|
||||
@@ -10,6 +10,7 @@ from debugtalk import *
|
||||
|
||||
if __name__ == "__main__":
|
||||
import funppy
|
||||
|
||||
funppy.register("get_user_agent", get_user_agent)
|
||||
funppy.register("sleep", sleep)
|
||||
funppy.register("sum", sum)
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// NOTE: Generated By hrp v4.1.5, DO NOT EDIT!
|
||||
// NOTE: Generated By hrp v4.1.6, DO NOT EDIT!
|
||||
package main
|
||||
|
||||
import (
|
||||
|
||||
Reference in New Issue
Block a user