Fixed unit tests in non-Qt case

This commit is contained in:
Matthias Koefferlein 2023-01-12 18:48:43 +01:00
parent 4b4556d396
commit d79dfec255
1 changed files with 4 additions and 0 deletions

View File

@ -517,6 +517,10 @@ class LAYLayoutView_TestClass < TestBase
# issue-1242
def test_6
if !RBA.constants.member?(:MainWindow)
return
end
# Create a new layout
main_window = RBA::MainWindow.instance()
main_window.close_all