-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
565efe1
commit 4f198e2
Showing
3 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
============================= test session starts ============================== | ||
platform linux -- Python 3.11.5, pytest-7.4.2, pluggy-1.3.0 | ||
rootdir: /home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common | ||
plugins: cov-4.1.0 | ||
collected 112 items | ||
|
||
test/test_aws_utils.py .................. [ 16%] | ||
test/test_config.py ............ [ 26%] | ||
test/test_grid_proj.py ............. [ 38%] | ||
test/test_path_builder.py ..................... [ 57%] | ||
test/test_utils.py ........................ [ 78%] | ||
test/test_validate_schema.py ........................ [100%] | ||
|
||
=============================== warnings summary =============================== | ||
test/test_validate_schema.py:14 | ||
test/test_validate_schema.py:14 | ||
/home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/test/test_validate_schema.py:14: DeprecationWarning: Importing Validator directly from the jsonschema package is deprecated and will become an ImportError. Import it from jsonschema.protocols instead. | ||
from jsonschema import Validator | ||
|
||
idsse/common/validate_schema.py:16 | ||
idsse/common/validate_schema.py:16 | ||
/home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/validate_schema.py:16: DeprecationWarning: Importing Validator directly from the jsonschema package is deprecated and will become an ImportError. Import it from jsonschema.protocols instead. | ||
from jsonschema import Validator, FormatChecker, RefResolver | ||
|
||
idsse/common/validate_schema.py:16 | ||
idsse/common/validate_schema.py:16 | ||
/home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/idsse/common/validate_schema.py:16: DeprecationWarning: jsonschema.RefResolver is deprecated as of v4.18.0, in favor of the https://github.com/python-jsonschema/referencing library, which provides more compliant referencing behavior as well as more flexible APIs for customization. A future release will remove RefResolver. Please file a feature request (on referencing) if you are missing an API for the kind of customization you need. | ||
from jsonschema import Validator, FormatChecker, RefResolver | ||
|
||
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html | ||
- generated xml file: /home/runner/work/idss-engine-commons/idss-engine-commons/python/idsse_common/test/pytest.xml - | ||
|
||
---------- coverage: platform linux, python 3.11.5-final-0 ----------- | ||
Name Stmts Miss Cover | ||
----------------------------------------------------- | ||
idsse/common/__init__.py 0 0 100% | ||
idsse/common/aws_utils.py 86 5 94% | ||
idsse/common/config.py 68 8 88% | ||
idsse/common/grid_proj.py 53 0 100% | ||
idsse/common/json_message.py 22 22 0% | ||
idsse/common/log_util.py 40 40 0% | ||
idsse/common/path_builder.py 157 41 74% | ||
idsse/common/publish_confirm.py 155 155 0% | ||
idsse/common/rabbitmq_utils.py 16 16 0% | ||
idsse/common/utils.py 94 9 90% | ||
idsse/common/validate_schema.py 39 0 100% | ||
----------------------------------------------------- | ||
TOTAL 730 296 59% | ||
|
||
======================= 112 passed, 6 warnings in 0.97s ======================== |
Oops, something went wrong.