fix: unittests

This commit is contained in:
lilong.129
2023-07-23 14:52:49 +08:00
parent 1c468aa793
commit 5462190f63
5 changed files with 19 additions and 13 deletions

View File

@@ -1,12 +1,17 @@
# Release History
## v4.3.5 (2023-07-21)
## v4.3.5 (2023-07-23)
- refactor: send events to Google Analytics 4, replace GA v1
- fix: failure unittests caused by httpbin.org, replace with docker service
**go version**
- fix #1603: ensure path suffix '/' exists
**python version**
- change: upgrade pyyaml from 5.4.1 to 6.0.1
- fix: upgrade pyyaml from 5.4.1 to 6.0.1, fix installing error
- refactor: update httprunner dependencies
## v4.3.4 (2023-06-01)

View File

@@ -1,5 +1,5 @@
{
"project_name": "demo-with-go-plugin",
"create_time": "2023-07-23T13:54:36.607613+08:00",
"create_time": "2023-07-23T14:30:10.985053+08:00",
"hrp_version": "v4.3.5"
}

View File

@@ -1,5 +1,5 @@
{
"project_name": "demo-with-py-plugin",
"create_time": "2023-07-23T13:54:36.896442+08:00",
"create_time": "2023-07-23T14:30:18.556239+08:00",
"hrp_version": "v4.3.5"
}

View File

@@ -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)

6
poetry.lock generated
View File

@@ -205,13 +205,13 @@ reference = "tsinghua"
[[package]]
name = "certifi"
version = "2023.5.7"
version = "2023.7.22"
description = "Python package for providing Mozilla's CA Bundle."
optional = false
python-versions = ">=3.6"
files = [
{file = "certifi-2023.5.7-py3-none-any.whl", hash = "sha256:c6c2e98f5c7869efca1f8916fed228dd91539f9f1b444c314c06eef02980c716"},
{file = "certifi-2023.5.7.tar.gz", hash = "sha256:0f0d56dc5a6ad56fd4ba36484d6cc34451e1c6548c61daad8c320169f91eddc7"},
{file = "certifi-2023.7.22-py3-none-any.whl", hash = "sha256:92d6037539857d8206b8f6ae472e8b77db8058fec5937a1ef3f54304089edbb9"},
{file = "certifi-2023.7.22.tar.gz", hash = "sha256:539cc1d13202e33ca466e88b2807e29f4c13049d6d87031a3c110744495cb082"},
]
[package.source]