mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
fix: unittest
This commit is contained in:
@@ -3,6 +3,7 @@ package hrp
|
|||||||
import (
|
import (
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"os"
|
"os"
|
||||||
|
"path/filepath"
|
||||||
"testing"
|
"testing"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
@@ -22,6 +23,8 @@ func buildHashicorpGoPlugin() {
|
|||||||
func removeHashicorpGoPlugin() {
|
func removeHashicorpGoPlugin() {
|
||||||
log.Info().Msg("[teardown] remove hashicorp go plugin")
|
log.Info().Msg("[teardown] remove hashicorp go plugin")
|
||||||
os.Remove(tmpl("debugtalk.bin"))
|
os.Remove(tmpl("debugtalk.bin"))
|
||||||
|
pluginPath, _ := filepath.Abs(tmpl("debugtalk.bin"))
|
||||||
|
delete(pluginMap, pluginPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
func buildHashicorpPyPlugin() {
|
func buildHashicorpPyPlugin() {
|
||||||
|
|||||||
Reference in New Issue
Block a user