From d50718a1215290e9048267a122b055b0d3c5aeb0 Mon Sep 17 00:00:00 2001 From: Enrico Faulhaber Date: Wed, 16 Oct 2024 13:20:24 +0200 Subject: [PATCH] add test for importing custom modules related: #4882 Change-Id: I605de7fd43be146c84f4324d2a8eebe0aa11da79 Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/34814 Tested-by: Jenkins Automated Tests Tested-by: Enrico Faulhaber Reviewed-by: Enrico Faulhaber Reviewed-by: Markus Zolliker --- test/test_test.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/test/test_test.py b/test/test_test.py index 3df69fb5..c4ea0043 100644 --- a/test/test_test.py +++ b/test/test_test.py @@ -1,4 +1,5 @@ +from frappy.gui.cfg_editor.utils import get_modules def test_assert(): assert 1 @@ -7,3 +8,7 @@ def test_assert(): def test_constants(constants): assert constants.ONE == 1 assert constants.TWO == 2 + + +def test_imports(): + get_modules()