Commit Graph

6 Commits

Author SHA1 Message Date
Khem Raj
c2705fa6c9
python3-pytest-mock: Fix ptests
- Drop the patch to add additional checks to disable failing introspection
  tests, use plain asserts instead

- Switch to pypi fetcher

- Add missing rdeps needed for ptest runs

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Trevor Gamblin <tgamblin@baylibre.com>
2024-09-26 11:18:03 -07:00
Khem Raj
3fb5f62b02
python3-pytest-mock: Upgrade to 3.14.0
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-09-15 16:03:12 -07:00
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
Trevor Gamblin
d61bc9351a python3-pytest-mock: disable broken ptests
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>
2023-10-13 13:23:50 -07:00
Trevor Gamblin
204dea23c5 python3-pytest-mock: Add recipe
Signed-off-by: Trevor Gamblin <tgamblin@baylibre.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2023-05-09 16:22:00 -07:00