summaryrefslogtreecommitdiffstats
path: root/meta-python/recipes-devtools/python/python3-pytest-mock
Commit message (Collapse)AuthorAgeFilesLines
* python3-pytest-mock: switch to pytest --automakeTim Orling2024-02-161-1/+1
| | | | | | | * Also replace ${PYTHON_PN} with python3 Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-mock: Fix ptest failures with python 3.12Khem Raj2024-01-271-0/+92
| | | | | | | | | | | | | | Fixes following regressions seen with python 3.12 upgrade AssertionError: Failed ptests: {'python3-pytest-mock': ['tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_no_name', 'tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[None]', 'tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[]', 'tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[f]', 'tests/test_pytest_mock.py::TestMockerStub::test_failure_message_with_name[The_Castle_of_aaarrrrggh]']} Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-mock: disable broken ptestsTrevor Gamblin2023-10-131-0/+38
| | | | | | | | Two introspection-related ptests are consistently failing. For now, disable them so that a clean ptest run is available. Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* python3-pytest-mock: Add recipeTrevor Gamblin2023-05-091-0/+3
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>