Closed paskino closed 1 month ago
All of the appearances of https://github.com/vais-ral/CILViewer/blob/471c82a81f3b95dd6f177a7890596d9c40f4df22/Wrappers/Python/test/test_viewer_main_windows.py#L67 will open a QApplication. Hence the line https://github.com/vais-ral/CILViewer/blob/471c82a81f3b95dd6f177a7890596d9c40f4df22/Wrappers/Python/test/test_viewer_main_windows.py#L42 is not compatible with it. This line should be removed. The checker for the instance class https://github.com/vais-ral/CILViewer/blob/471c82a81f3b95dd6f177a7890596d9c40f4df22/Wrappers/Python/test/test_viewer_main_windows.py#L41 does not work.
QApplication
is a singleton and some unit tests fail withIn particular this happens if one runs both
test_viewer_main_windows.py
andtest_ui_dialogs.py
The following commands fails running the second test. The third command fails once the second of the 2 test files is run, i.e. generally
test_viewer_main_windows.py