change: move all unittests to tests folder

This commit is contained in:
debugtalk
2020-05-28 18:44:17 +08:00
parent ed3c937be6
commit 398522bd2c
19 changed files with 4 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ jobs:
poetry run hmake
poetry run hrun
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 report -m
- name: Codecov

View File

@@ -17,6 +17,7 @@
**Changed**
- change: make `allure-pytest`, `requests-toolbelt`, `filetype` as optional dependencies
- change: move all unittests to tests folder
## 3.0.5 (2020-05-22)

0
tests/__init__.py Normal file
View File

0
tests/app/__init__.py Normal file
View File

View File

@@ -153,7 +153,7 @@ class TestCompat(unittest.TestCase):
"--failfast",
"--save-tests",
"--report-file",
"report.html"
"report.html",
]
self.assertEqual(
compat.ensure_cli_args(args4),

0
tests/ext/__init__.py Normal file
View File

View File

View File

@@ -2,7 +2,7 @@ import os
from httprunner.ext.har2case.core import HarParser
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):