mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-07-19 15:29:08 +02:00

Use your fixtures in @pytest.mark.parametrize. This project was inspired by pytest-lazy-fixture. Improvements that have been made in this project: 1. You can use fixtures in any data structures 2. You can access the attributes of fixtures 3. You can use functions in fixtures * Dependency for python3-prettytable ptest. (Not the same as python3-pytest-lazy-fixture without the s) * Upstream does not package tests/ in the sdist on pypi, so we do not try to enable ptest at this time (it would require using git fetcher instead of pypi.bbclass). * The ptest for the predecessor (python3-pytest-lazy-fixture without the s) was already in PTEST_PROBLEMS, meaning its ptests did not run cleanly. Signed-off-by: Tim Orling <tim.orling@konsulko.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
22 lines
718 B
BlitzBasic
22 lines
718 B
BlitzBasic
SUMMARY = "Allows you to use fixtures in @pytest.mark.parametrize."
|
|
DESCRIPTION = "Use your fixtures in @pytest.mark.parametrize. \
|
|
\
|
|
This project was inspired by pytest-lazy-fixture.\
|
|
\
|
|
Improvements that have been made in this project:\
|
|
\
|
|
* You can use fixtures in any data structures\
|
|
* You can access the attributes of fixtures\
|
|
* You can use functions in fixtures"
|
|
HOMEPAGE = "https://github.com/dev-petrov/pytest-lazy-fixtures"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://LICENSE;md5=4475e66fcfabe27395e6764c8f69c876"
|
|
|
|
SRC_URI[sha256sum] = "066b253a94c249e6d9cdfad465e2503d2219139fb468d8f687243dfde39ab9cb"
|
|
|
|
inherit pypi python_poetry_core
|
|
|
|
PYPI_PACKAGE = "pytest_lazy_fixtures"
|
|
|
|
RDEPENDS:${PN} = "python3-pytest"
|