]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bitbake: lib/layerindexlib/tests/restapi.py: Fix test cases when BB_SKIP_NETTETS=yes
authorMark Hatle <mark.hatle@windriver.com>
Tue, 25 Sep 2018 15:07:08 +0000 (11:07 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 26 Sep 2018 14:14:33 +0000 (15:14 +0100)
commitf61ef5b45417382ff94e9d389d8eeda490026d73
treeedb05ebc8aa72a5c54fe88c9987f8fdd44e4d553
parent5fae3cb56e907da3d0a750e92d1bb77e36c828d6
bitbake: lib/layerindexlib/tests/restapi.py: Fix test cases when BB_SKIP_NETTETS=yes

Change the way the network related tests are skipped, based on how the
fetch tests are handled.  We introduce a 'skipIfNoNetwork()' function that
will report skipped tests through the standard unit test reporting system.

[YOCTO #12928]

(Bitbake rev: 7d5af23d560b38fb5558d4ac51c3c9611d6d904f)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/layerindexlib/tests/restapi.py