[elbe-devel] [PATCH 1/2] elbevalidate: move unittests out of elbevalidate package

Thomas Weißschuh thomas.weissschuh at linutronix.de
Wed Jun 12 10:22:14 CEST 2024


The tests should handle the absence of the "guestfs" module gracefully.
But as __init__.py is *always* import before any other file within
elbevalidate/, test_elbevalidate.py won't ever be executed if "guestfs"
is not available.

Move the testfile somewhere else to break this dependency.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 {elbevalidate => test}/test_elbevalidate.py | 0
 1 file changed, 0 insertions(+), 0 deletions(-)

diff --git a/elbevalidate/test_elbevalidate.py b/test/test_elbevalidate.py
similarity index 100%
rename from elbevalidate/test_elbevalidate.py
rename to test/test_elbevalidate.py

-- 
2.45.2



More information about the elbe-devel mailing list