]> git.baikalelectronics.ru Git - uboot.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)
commit9268e16ef8c8a94df6286f5f5ee5a570d2192939
treee05161f3a93629a30bd8b8cf53385d2b47407c79
parent70166c597a5f48c5ffd56207069125cb7ff15cc5
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