Commit Graph

4 Commits

Author SHA1 Message Date
Tim Orling
6ad70164f6
python3-pytest-mock: switch to pytest --automake
* Also replace ${PYTHON_PN} with python3

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-02-16 16:42:34 -08:00
Khem Raj
51392e0d14
python3-pytest-mock: Fix ptest failures with python 3.12
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>
2024-01-27 09:48:30 -08:00
Peter Kjellerstedt
0fe18c01f3 python3-pytest-mock: Only set SRCREV once
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-07 23:11:24 -08:00
Khem Raj
44eed7633d python3-pytest-mock: upgrade 3.11.1 -> 3.12.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-11-06 08:47:36 -08:00