]> git.dujemihanovic.xyz Git - u-boot.git/commit
test/py: expose config and log as session scoped fixture
authorStefan Brüns <stefan.bruens@rwth-aachen.de>
Sat, 5 Nov 2016 16:45:32 +0000 (17:45 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 21 Nov 2016 19:07:27 +0000 (14:07 -0500)
commitd8c1e0331ac31aefe32c9182a44b612617008288
treee05161f3a93629a30bd8b8cf53385d2b47407c79
parent2d0c2c47aa2d81c9a5033ffa1e28cd34b1b24e9d
test/py: expose config and log as session scoped fixture

If a test uses a fixture which is expensive to setup, the fixture can
possibly created with session or module scope. As u_boot_console has
function scope, it can not be used in this case.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
test/py/conftest.py