Skip test that fails on macOS.

This commit is contained in:
Tomas Groth 2021-09-02 20:43:42 +00:00 committed by Raoul Snyman
parent 59c55fea4c
commit e584c5bf49

View File

@ -30,6 +30,7 @@ from tempfile import mkdtemp
from PyQt5 import QtCore, QtWidgets, QtGui
from openlp.core.common import is_macosx
from openlp.core.common.i18n import UiStrings
from openlp.core.common.registry import Registry
from openlp.core.display.screens import ScreenList
@ -206,6 +207,7 @@ def test_load_settings_position_valid(main_window, settings):
assert main_window.pos().x() == 10
@pytest.mark.skipif(is_macosx(), reason='Test does not work on macOS')
def test_load_settings_position_invalid(main_window, settings):
"""
Test that the position of the main window is not restored when it's invalid, but rather set to (0, 0)