mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-06 06:51:23 +08:00
change: move all unittests to tests folder
This commit is contained in:
2
.github/workflows/unittest.yml
vendored
2
.github/workflows/unittest.yml
vendored
@@ -31,7 +31,7 @@ jobs:
|
|||||||
poetry run hmake
|
poetry run hmake
|
||||||
poetry run hrun
|
poetry run hrun
|
||||||
poetry run har2case
|
poetry run har2case
|
||||||
poetry run coverage run --source=httprunner -m pytest httprunner
|
poetry run coverage run --source=httprunner -m pytest tests
|
||||||
poetry run coverage xml
|
poetry run coverage xml
|
||||||
poetry run coverage report -m
|
poetry run coverage report -m
|
||||||
- name: Codecov
|
- name: Codecov
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
**Changed**
|
**Changed**
|
||||||
|
|
||||||
- change: make `allure-pytest`, `requests-toolbelt`, `filetype` as optional dependencies
|
- change: make `allure-pytest`, `requests-toolbelt`, `filetype` as optional dependencies
|
||||||
|
- change: move all unittests to tests folder
|
||||||
|
|
||||||
## 3.0.5 (2020-05-22)
|
## 3.0.5 (2020-05-22)
|
||||||
|
|
||||||
|
|||||||
0
tests/__init__.py
Normal file
0
tests/__init__.py
Normal file
0
tests/app/__init__.py
Normal file
0
tests/app/__init__.py
Normal file
@@ -153,7 +153,7 @@ class TestCompat(unittest.TestCase):
|
|||||||
"--failfast",
|
"--failfast",
|
||||||
"--save-tests",
|
"--save-tests",
|
||||||
"--report-file",
|
"--report-file",
|
||||||
"report.html"
|
"report.html",
|
||||||
]
|
]
|
||||||
self.assertEqual(
|
self.assertEqual(
|
||||||
compat.ensure_cli_args(args4),
|
compat.ensure_cli_args(args4),
|
||||||
0
tests/ext/__init__.py
Normal file
0
tests/ext/__init__.py
Normal file
0
tests/ext/har2case/__init__.py
Normal file
0
tests/ext/har2case/__init__.py
Normal file
@@ -2,7 +2,7 @@ import os
|
|||||||
|
|
||||||
from httprunner.ext.har2case.core import HarParser
|
from httprunner.ext.har2case.core import HarParser
|
||||||
from httprunner.ext.har2case.utils import load_har_log_entries
|
from httprunner.ext.har2case.utils import load_har_log_entries
|
||||||
from httprunner.ext.har2case.utils_test import TestHar2CaseUtils
|
from tests.ext.har2case.utils_test import TestHar2CaseUtils
|
||||||
|
|
||||||
|
|
||||||
class TestHar(TestHar2CaseUtils):
|
class TestHar(TestHar2CaseUtils):
|
||||||
Reference in New Issue
Block a user