python3-pytest-subtests: upgrade 0.5.0 -> 0.6.0

0.6.0 (2022-01-15)
* pytest>=6.0 is now required.
* Added official support for Python 3.10.
* Dropped support for Python 3.5.
* Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (#52).
* Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (#30).

References:
https://github.com/pytest-dev/pytest-subtests/pull/52
https://github.com/pytest-dev/pytest-subtests/pull/30

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Trevor Gamblin <trevor.gamblin@windriver.com>
This commit is contained in:
Tim Orling 2022-01-15 21:29:02 -08:00 committed by Khem Raj
parent 3748086ec5
commit d77bddfca8
2 changed files with 20 additions and 16 deletions

View File

@ -1,16 +0,0 @@
DESCRIPTION = "unittest subTest() support and subtests fixture."
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
SRC_URI[sha256sum] = "5bd1e4bf0eda4c89a6cd42b0ee28e1d2ca0848de3fd67ad8cdd6d559ed00f120"
inherit pypi setuptools3
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
RDEPENDS:${PN} += " \
${PYTHON_PN}-pytest \
"
BBCLASSEXTEND = "native nativesdk"

View File

@ -0,0 +1,20 @@
SUMMARY = "unittest subTest() support and subtests fixture."
DESCRIPTION = "Adds support for TestCase.subTest.\
New subtests fixture, providing similar functionality for pure pytest tests."
HOMEPAGE = "https://github.com/pytest-dev/pytest-subtests"
BUGTRACKER = "https://github.com/pytest-dev/pytest-subtests/issues"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=242b4e17fa287dcf7aef372f6bc3dcb1"
SRC_URI[sha256sum] = "3ebd306a8dcf75133f1742f288c82f36426ebcf8a132d4ee89782d20e84fc13a"
inherit pypi setuptools3
DEPENDS += "${PYTHON_PN}-setuptools-scm-native"
RDEPENDS:${PN} += " \
${PYTHON_PN}-pytest \
"
BBCLASSEXTEND = "native nativesdk"