From cdbbb9478eb414022d21446e6a40f2b6e88d2128 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Wed, 3 Jun 2020 22:23:08 +0800 Subject: [PATCH] fix: github action --- .github/workflows/integration_test.yml | 4 ++-- docs/CHANGELOG.md | 3 ++- examples/httpbin/basic_test.py | 2 +- examples/httpbin/hooks_test.py | 2 +- examples/httpbin/load_image_test.py | 2 +- examples/httpbin/upload_test.py | 2 +- examples/httpbin/validate_test.py | 2 +- 7 files changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/integration_test.yml b/.github/workflows/integration_test.yml index 0c234757..4948e7cf 100644 --- a/.github/workflows/integration_test.yml +++ b/.github/workflows/integration_test.yml @@ -36,7 +36,7 @@ jobs: httprunner har2case -h - name: Run smoketest - postman echo run: | - hrun examples/postman_echo/request_methods + poetry run hrun examples/postman_echo/request_methods - name: Run smoketest - httpbin run: | - hrun examples/httpbin/ + poetry run hrun examples/httpbin/ diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index 63debb83..5ad8d360 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -6,6 +6,7 @@ - feat: make pytest files in chain style - feat: `hrun` supports run pytest files +- feat: get raw testcase model from pytest file **Fixed** @@ -17,7 +18,7 @@ **Changed** -- change: har2case generate pytest file by default +- change: `har2case` generate pytest file by default - docs: update sponsor info ## 3.0.6 (2020-05-29) diff --git a/examples/httpbin/basic_test.py b/examples/httpbin/basic_test.py index 6f03ae4a..37741c07 100644 --- a/examples/httpbin/basic_test.py +++ b/examples/httpbin/basic_test.py @@ -1,4 +1,4 @@ -# NOTICE: Generated By HttpRunner. DO NOT EDIT! +# NOTICE: Generated By HttpRunner. # FROM: examples/httpbin/basic.yml from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase diff --git a/examples/httpbin/hooks_test.py b/examples/httpbin/hooks_test.py index f0f22952..01ebf292 100644 --- a/examples/httpbin/hooks_test.py +++ b/examples/httpbin/hooks_test.py @@ -1,4 +1,4 @@ -# NOTICE: Generated By HttpRunner. DO NOT EDIT! +# NOTICE: Generated By HttpRunner. # FROM: examples/httpbin/hooks.yml from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase diff --git a/examples/httpbin/load_image_test.py b/examples/httpbin/load_image_test.py index 1c276343..9e36a4f8 100644 --- a/examples/httpbin/load_image_test.py +++ b/examples/httpbin/load_image_test.py @@ -1,4 +1,4 @@ -# NOTICE: Generated By HttpRunner. DO NOT EDIT! +# NOTICE: Generated By HttpRunner. # FROM: examples/httpbin/load_image.yml from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase diff --git a/examples/httpbin/upload_test.py b/examples/httpbin/upload_test.py index bb67ec5e..64dfcdbd 100644 --- a/examples/httpbin/upload_test.py +++ b/examples/httpbin/upload_test.py @@ -1,4 +1,4 @@ -# NOTICE: Generated By HttpRunner. DO NOT EDIT! +# NOTICE: Generated By HttpRunner. # FROM: examples/httpbin/upload.yml from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase diff --git a/examples/httpbin/validate_test.py b/examples/httpbin/validate_test.py index 24a48178..c6ae7099 100644 --- a/examples/httpbin/validate_test.py +++ b/examples/httpbin/validate_test.py @@ -1,4 +1,4 @@ -# NOTICE: Generated By HttpRunner. DO NOT EDIT! +# NOTICE: Generated By HttpRunner. # FROM: examples/httpbin/validate.yml from httprunner import HttpRunner, Config, Step, RunRequest, RunTestCase