mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
bitbake: bitbake: tests/fetch: Mark TestTimeout as not a test suite
pytest test collection attempts to collect all classes containing "Test". TestTimeout is not a test class so add the __test__ = False attribute to indicate this. (Bitbake rev: b5455b98093a3eaf122ebe3d29c3bef949fd2440) Signed-off-by: Peter Hoyes <Peter.Hoyes@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
bf65b87432
commit
a7b74c0b73
@@ -24,7 +24,8 @@ def skipIfNoNetwork():
|
||||
return lambda f: f
|
||||
|
||||
class TestTimeout(Exception):
|
||||
pass
|
||||
# Indicate to pytest that this is not a test suite
|
||||
__test__ = False
|
||||
|
||||
class Timeout():
|
||||
|
||||
|
||||
Reference in New Issue
Block a user