[elbe-devel] [PATCH 05/11] elbepack: tests: add basic test for elbe check_updates

Thomas Weißschuh thomas.weissschuh at linutronix.de
Thu Aug 1 17:53:02 CEST 2024


Make sure it doesn't get broken completely accidentally.

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

diff --git a/elbepack/tests/test_xml.py b/elbepack/tests/test_xml.py
index 5632fbf215cd..e4aae3593d64 100644
--- a/elbepack/tests/test_xml.py
+++ b/elbepack/tests/test_xml.py
@@ -68,6 +68,11 @@ def test_simple_build(simple_build, check_build):
     run_elbe_subcommand(['check-build', check_build, simple_build])
 
 
+ at pytest.mark.slow
+def test_check_updates(simple_build):
+    run_elbe_subcommand(['check_updates', simple_build / 'source.xml'])
+
+
 def _prjrepo_list_packages(uuid):
     with contextlib.redirect_stdout(io.StringIO()) as stdout:
         run_elbe_subcommand(['prjrepo', 'list_packages', uuid])

-- 
2.45.2



More information about the elbe-devel mailing list