forked from openlp/openlp
Skip test that fails on macOS.
This commit is contained in:
parent
59c55fea4c
commit
e584c5bf49
@ -30,6 +30,7 @@ from tempfile import mkdtemp
|
|||||||
|
|
||||||
from PyQt5 import QtCore, QtWidgets, QtGui
|
from PyQt5 import QtCore, QtWidgets, QtGui
|
||||||
|
|
||||||
|
from openlp.core.common import is_macosx
|
||||||
from openlp.core.common.i18n import UiStrings
|
from openlp.core.common.i18n import UiStrings
|
||||||
from openlp.core.common.registry import Registry
|
from openlp.core.common.registry import Registry
|
||||||
from openlp.core.display.screens import ScreenList
|
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
|
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):
|
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)
|
Test that the position of the main window is not restored when it's invalid, but rather set to (0, 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user