frappy/test/test_cfg_editor.py
Georg Brandl 554996ffd3 fixup test for cfg_editor utils to run from non-checkout, and fix names, and remove example code
Change-Id: I6224244392e2a2d0928065ba24abcbe822096084
Reviewed-on: https://forge.frm2.tum.de/review/c/secop/frappy/+/34934
Tested-by: Jenkins Automated Tests <pedersen+jenkins@frm2.tum.de>
Reviewed-by: Alexander Zaft <a.zaft@fz-juelich.de>
2024-11-15 10:39:47 +01:00

14 lines
288 B
Python

from pathlib import Path
from frappy.gui.cfg_editor.utils import get_modules, get_interfaces
from frappy.lib import generalConfig
basedir = Path(__file__).parent.parent.absolute()
def test_imports():
generalConfig.testinit(basedir=basedir)
get_modules()
get_interfaces()