[elbe-devel] [PATCH 6/6] tests: test_xml: enable --fail-on-warning

Thomas Weißschuh thomas.weissschuh at linutronix.de
Tue Jul 2 09:53:36 CEST 2024


Make sure no warnings are emitted.

Signed-off-by: Thomas Weißschuh <thomas.weissschuh at linutronix.de>
---
 elbepack/tests/test_xml.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/tests/test_xml.py b/elbepack/tests/test_xml.py
index b3586761e245..26e32edc0cd7 100644
--- a/elbepack/tests/test_xml.py
+++ b/elbepack/tests/test_xml.py
@@ -18,7 +18,7 @@ def initvm(tmp_path_factory, request):
 
     initvm_dir = tmp_path_factory.mktemp('initvm-') / 'initvm'
 
-    run_elbe(['initvm', 'create', '--directory', initvm_dir], check=True)
+    run_elbe(['initvm', 'create', '--fail-on-warning', '--directory', initvm_dir], check=True)
 
     yield
 

-- 
2.45.2



More information about the elbe-devel mailing list