drun 2.2.2__tar.gz → 2.3.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {drun-2.2.2 → drun-2.3.2}/PKG-INFO +1 -1
- {drun-2.2.2 → drun-2.3.2}/drun/__init__.py +1 -1
- {drun-2.2.2 → drun-2.3.2}/drun/loader/yaml_loader.py +12 -1
- {drun-2.2.2 → drun-2.3.2}/drun/scaffolds/templates.py +1 -1
- {drun-2.2.2 → drun-2.3.2}/drun.egg-info/PKG-INFO +1 -1
- {drun-2.2.2 → drun-2.3.2}/pyproject.toml +1 -1
- {drun-2.2.2 → drun-2.3.2}/LICENSE +0 -0
- {drun-2.2.2 → drun-2.3.2}/README.md +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/cli.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/db/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/db/database_proxy.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/db/generate_mysql_config.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/engine/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/engine/http.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/exporters/curl.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/importers/base.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/importers/curl.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/importers/har.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/importers/openapi.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/importers/postman.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/loader/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/loader/collector.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/loader/env.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/loader/hooks.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/models/case.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/models/config.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/models/report.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/models/request.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/models/step.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/models/validators.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/notifier/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/notifier/base.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/notifier/dingtalk.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/notifier/emailer.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/notifier/feishu.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/notifier/format.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/reporter/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/reporter/allure_reporter.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/reporter/html_reporter.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/reporter/json_reporter.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/runner/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/runner/assertions.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/runner/extractors.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/runner/runner.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/scaffolds/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/templating/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/templating/builtins.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/templating/context.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/templating/engine.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/utils/__init__.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/utils/curl.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/utils/errors.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/utils/logging.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/utils/mask.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun/utils/timeit.py +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun.egg-info/SOURCES.txt +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun.egg-info/dependency_links.txt +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun.egg-info/entry_points.txt +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun.egg-info/requires.txt +0 -0
- {drun-2.2.2 → drun-2.3.2}/drun.egg-info/top_level.txt +0 -0
- {drun-2.2.2 → drun-2.3.2}/setup.cfg +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
__all__ = ["__version__"]
|
|
2
|
-
__version__ = "2.
|
|
2
|
+
__version__ = "2.3.2"
|
|
@@ -423,10 +423,21 @@ def _find_request_subfield_location(raw_text: str, step_index: int, subfield: st
|
|
|
423
423
|
|
|
424
424
|
|
|
425
425
|
def _resolve_csv_path(path_value: str, source_path: Path | None) -> Path:
|
|
426
|
+
from drun.loader.hooks import find_hooks
|
|
427
|
+
|
|
426
428
|
candidate = Path(path_value).expanduser()
|
|
427
429
|
if candidate.is_absolute():
|
|
428
430
|
return candidate
|
|
429
|
-
|
|
431
|
+
|
|
432
|
+
base: Path | None = None
|
|
433
|
+
if source_path:
|
|
434
|
+
hooks_path = find_hooks(source_path)
|
|
435
|
+
if hooks_path:
|
|
436
|
+
base = hooks_path.parent.resolve()
|
|
437
|
+
|
|
438
|
+
if base is None:
|
|
439
|
+
base = Path.cwd().resolve()
|
|
440
|
+
|
|
430
441
|
return (base / candidate).resolve()
|
|
431
442
|
|
|
432
443
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|