components/python/pytest-shell-utilities/Makefile | ●●●●● patch | view | raw | blame | history | |
components/python/pytest-shell-utilities/manifests/sample-manifest.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/pytest-shell-utilities/pkg5 | ●●●●● patch | view | raw | blame | history | |
components/python/pytest-shell-utilities/pytest-shell-utilities-PYVER.p5m | ●●●●● patch | view | raw | blame | history | |
components/python/pytest-shell-utilities/python-integrate-project.conf | ●●●●● patch | view | raw | blame | history | |
components/python/pytest-shell-utilities/test/results-all.master | ●●●●● patch | view | raw | blame | history |
components/python/pytest-shell-utilities/Makefile
@@ -19,19 +19,21 @@ include ../../../make-rules/shared-macros.mk COMPONENT_NAME = pytest-shell-utilities HUMAN_VERSION = 1.8.0 HUMAN_VERSION = 1.9.0 COMPONENT_SUMMARY = pytest-shell-utilities - Pytest plugin to simplify running shell commands against the system COMPONENT_PROJECT_URL = https://github.com/saltstack/pytest-shell-utilities COMPONENT_ARCHIVE_URL = \ https://files.pythonhosted.org/packages/63/9d/9ce26090f104441d2441473c5802d07b127560261baf4ac78eb7fb8aeafa/pytest-shell-utilities-1.8.0.tar.gz COMPONENT_ARCHIVE_HASH = \ sha256:7f9a1aac43fad962da11e0ba1ae771eb3b84b73fc4bee94a8f563159231e1920 sha256:e9ae85f8c64dd2b95e35ed1f110a90e25d498cb1af946be7cf1b7f069c089499 COMPONENT_LICENSE = Apache-2.0 COMPONENT_LICENSE_FILE = LICENSE TEST_STYLE = pytest include $(WS_MAKE_RULES)/common.mk # This project does not support tox so we need to provide test requirements # manually. TEST_REQUIREMENTS += requirements/tests.txt # Auto-generated dependencies PYTHON_REQUIRED_PACKAGES += library/python/attrs @@ -42,6 +44,7 @@ PYTHON_REQUIRED_PACKAGES += library/python/setuptools PYTHON_REQUIRED_PACKAGES += library/python/setuptools-declarative-requirements PYTHON_REQUIRED_PACKAGES += library/python/setuptools-scm PYTHON_REQUIRED_PACKAGES += library/python/typing-extensions PYTHON_REQUIRED_PACKAGES += library/python/wheel PYTHON_REQUIRED_PACKAGES += runtime/python TEST_REQUIRED_PACKAGES.python += library/python/pytest-skip-markers TEST_REQUIRED_PACKAGES.python += library/python/pytest-subtests components/python/pytest-shell-utilities/manifests/sample-manifest.p5m
@@ -10,7 +10,7 @@ # # # Copyright 2023 <contributor> # Copyright 2024 <contributor> # set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)-$(PYV)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION) @@ -53,4 +53,3 @@ depend type=require fmri=pkg:/library/python/pytest-$(PYV) depend type=require fmri=pkg:/library/python/pytest-helpers-namespace-$(PYV) depend type=require fmri=pkg:/library/python/pytest-skip-markers-$(PYV) depend type=require fmri=pkg:/library/python/typing-extensions-$(PYV) components/python/pytest-shell-utilities/pkg5
@@ -8,13 +8,12 @@ "library/python/setuptools-39", "library/python/setuptools-declarative-requirements-39", "library/python/setuptools-scm-39", "library/python/typing-extensions-39", "library/python/wheel-39", "runtime/python-39" ], "fmris": [ "library/python/pytest-shell-utilities-39", "library/python/pytest-shell-utilities" "library/python/pytest-shell-utilities", "library/python/pytest-shell-utilities-39" ], "name": "pytest-shell-utilities" } } components/python/pytest-shell-utilities/pytest-shell-utilities-PYVER.p5m
@@ -53,4 +53,3 @@ depend type=require fmri=pkg:/library/python/pytest-$(PYV) depend type=require fmri=pkg:/library/python/pytest-helpers-namespace-$(PYV) depend type=require fmri=pkg:/library/python/pytest-skip-markers-$(PYV) depend type=require fmri=pkg:/library/python/typing-extensions-$(PYV) components/python/pytest-shell-utilities/python-integrate-project.conf
New file @@ -0,0 +1,19 @@ # # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"), version 1.0. # You may only use this file in accordance with the terms of version # 1.0 of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2024 Marcel Telka # %include-3% # This project does not support tox so we need to provide test requirements # manually. TEST_REQUIREMENTS += requirements/tests.txt components/python/pytest-shell-utilities/test/results-all.master
@@ -1,11 +1,9 @@ ============================= test session starts ============================== platform sunos5 -- Python $(PYTHON_VERSION).X -- $(PYTHON) cachedir: .pytest_cache hypothesis profile 'default' -> database=DirectoryBasedExampleDatabase('$(@D)/.hypothesis/examples') rootdir: $(@D) configfile: pytest.ini testpaths: tests/ asyncio: mode=strict collecting ... collected 82 items tests/functional/shell/test_daemon.py::test_context_manager_returns_class_instance PASSED @@ -34,10 +32,10 @@ tests/functional/shell/test_script_subprocess.py::test_exitcode[3] PASSED tests/functional/shell/test_script_subprocess.py::test_exitcode[40] PASSED tests/functional/shell/test_script_subprocess.py::test_exitcode[9] PASSED tests/functional/shell/test_script_subprocess.py::test_get_script_path (script_name='$(PYTHON)') SUBPASS tests/functional/shell/test_script_subprocess.py::test_get_script_path (script_name='python3.9') SUBPASS tests/functional/shell/test_script_subprocess.py::test_get_script_path (script_name='python3.93.100') SUBPASS tests/functional/shell/test_script_subprocess.py::test_get_script_path PASSED tests/functional/shell/test_script_subprocess.py::test_get_script_path SUBPASS tests/functional/shell/test_script_subprocess.py::test_get_script_path SUBPASS tests/functional/shell/test_script_subprocess.py::test_get_script_path SUBPASS tests/functional/shell/test_script_subprocess.py::test_json_output[{"a": "a", "1": 1}-expected_object0] PASSED tests/functional/shell/test_script_subprocess.py::test_json_output[{'a': 'a', '1': 1}-None] PASSED tests/functional/shell/test_script_subprocess.py::test_not_started PASSED @@ -78,20 +76,20 @@ tests/unit/customtypes/test_callback.py::test___call__extra_kwargs PASSED tests/unit/customtypes/test_callback.py::test___call__override_kwarg PASSED tests/unit/customtypes/test_callback.py::test___str__ PASSED tests/unit/utils/processes/test_processresult.py::test_attributes (cmdline=['1', '2', '3'], data={'ret': {'a': 1}}, data_key='ret', returncode=0, stderr='STDERR', stdout='{"ret": {"a": 1}}') SUBPASS tests/unit/utils/processes/test_processresult.py::test_attributes (cmdline=['1', '2', '3'], data={'ret': {'a': 1}}, returncode=0, stderr='STDERR', stdout='{"ret": {"a": 1}}') SUBPASS tests/unit/utils/processes/test_processresult.py::test_attributes (cmdline=['1', '2', '3'], returncode=0, stderr='STDERR', stdout='STDOUT') SUBPASS tests/unit/utils/processes/test_processresult.py::test_attributes (returncode=0, stderr='STDERR', stdout='STDOUT') SUBPASS tests/unit/utils/processes/test_processresult.py::test_attributes PASSED tests/unit/utils/processes/test_processresult.py::test_attributes SUBPASS tests/unit/utils/processes/test_processresult.py::test_attributes SUBPASS tests/unit/utils/processes/test_processresult.py::test_attributes SUBPASS tests/unit/utils/processes/test_processresult.py::test_attributes SUBPASS tests/unit/utils/processes/test_processresult.py::test_non_int_returncode_raises_exception[-1.0] PASSED tests/unit/utils/processes/test_processresult.py::test_non_int_returncode_raises_exception[0] PASSED tests/unit/utils/processes/test_processresult.py::test_non_int_returncode_raises_exception[1.0] PASSED tests/unit/utils/processes/test_processresult.py::test_non_int_returncode_raises_exception[None] PASSED tests/unit/utils/processes/test_processresult.py::test_str_formatting (cmdline=['1', '2', '3'], data_key='ret', returncode=0, stderr='STDERR', stdout='{"ret": {"a": 1}}') SUBPASS tests/unit/utils/processes/test_processresult.py::test_str_formatting (cmdline=['1', '2', '3'], returncode=0, stderr='STDERR', stdout='STDOUT') SUBPASS tests/unit/utils/processes/test_processresult.py::test_str_formatting (cmdline=['1', '2', '3'], returncode=0, stderr='STDERR', stdout='{"ret": {"a": 1}}') SUBPASS tests/unit/utils/processes/test_processresult.py::test_str_formatting (returncode=0, stderr='STDERR', stdout='STDOUT') SUBPASS tests/unit/utils/processes/test_processresult.py::test_str_formatting PASSED tests/unit/utils/processes/test_processresult.py::test_str_formatting SUBPASS tests/unit/utils/processes/test_processresult.py::test_str_formatting SUBPASS tests/unit/utils/processes/test_processresult.py::test_str_formatting SUBPASS tests/unit/utils/processes/test_processresult.py::test_str_formatting SUBPASS tests/unit/utils/processes/test_processresult_matcher.py::test_instance_types PASSED tests/unit/utils/processes/test_processresult_matcher.py::test_matcher_attribute PASSED tests/unit/utils/test_format_callback_to_string.py::test_format_from_function PASSED