mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-04 23:16:57 +08:00
fix: unittests
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package scaffold
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -12,12 +13,12 @@ func TestGenDemoExamples(t *testing.T) {
|
||||
}
|
||||
|
||||
// FIXME
|
||||
// dir = "../../../examples/demo-with-py-plugin"
|
||||
// venv := filepath.Join(dir, ".venv")
|
||||
// err = CreateScaffold(dir, Py, venv, true)
|
||||
// if err != nil {
|
||||
// t.Fatal()
|
||||
// }
|
||||
dir = "../../../examples/demo-with-py-plugin"
|
||||
venv := filepath.Join(dir, ".venv")
|
||||
err = CreateScaffold(dir, Py, venv, true)
|
||||
if err != nil {
|
||||
t.Fatal()
|
||||
}
|
||||
|
||||
dir = "../../../examples/demo-without-plugin"
|
||||
err = CreateScaffold(dir, Ignore, "", true)
|
||||
|
||||
Reference in New Issue
Block a user