- Enable tests - Add patch skip-timeout-tests.patch to skip test randomly failing in OBS - specfile: * update copyright year - update to version 2.3.1: * PYTEST_QT_API environment variable correctly wins over qt_api ini variable if both are set at the same time (#196). Thanks @mochick for the PR. - changes from version 2.3.0: * New qapp_args fixture which can be used to pass custom arguments to QApplication. Thanks @The-Compiler for the PR. - changes from version 2.2.1: * modeltester now accepts QBrush for BackgroundColorRole and TextColorRole (#189). Thanks @p0las for the PR. - changes from version 2.2.0: * pytest-qt now supports PySide2 thanks to @rth! OBS-URL: https://build.opensuse.org/request/show/606759 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-qt?expand=0&rev=2
13 lines
572 B
Diff
13 lines
572 B
Diff
Index: pytest-qt-2.3.1/tests/test_basics.py
|
|
===================================================================
|
|
--- pytest-qt-2.3.1.orig/tests/test_basics.py
|
|
+++ pytest-qt-2.3.1/tests/test_basics.py
|
|
@@ -73,6 +73,7 @@ def test_stop_for_interaction(qtbot, tim
|
|
|
|
@pytest.mark.parametrize('show', [True, False])
|
|
@pytest.mark.parametrize('method_name', ['waitExposed', 'waitActive'])
|
|
+@pytest.mark.skip(reason="Fails in OBS randomly")
|
|
def test_wait_window(show, method_name, qtbot):
|
|
"""
|
|
Using one of the wait-widget methods should not raise anything if the widget
|