Ignore "Unable to set geometry" warnings in tests.
This reverts commits9b066ec50a
and83f7cf84a9
. This was still broken even after setting the geometry: https://ci.appveyor.com/project/The-Compiler/qutebrowser
This commit is contained in:
parent
f17131f6c2
commit
219c2f8ae8
@ -39,7 +39,6 @@ def progress_widget(qtbot, monkeypatch, config_stub):
|
|||||||
'qutebrowser.mainwindow.statusbar.progress.style.config', config_stub)
|
'qutebrowser.mainwindow.statusbar.progress.style.config', config_stub)
|
||||||
widget = Progress()
|
widget = Progress()
|
||||||
qtbot.add_widget(widget)
|
qtbot.add_widget(widget)
|
||||||
widget.setGeometry(200, 200, 200, 200)
|
|
||||||
assert not widget.isVisible()
|
assert not widget.isVisible()
|
||||||
assert not widget.isTextVisible()
|
assert not widget.isTextVisible()
|
||||||
return widget
|
return widget
|
||||||
|
@ -46,7 +46,6 @@ def test_elided_text(qtbot, elidemode, check):
|
|||||||
"""
|
"""
|
||||||
label = TextBase(elidemode=elidemode)
|
label = TextBase(elidemode=elidemode)
|
||||||
qtbot.add_widget(label)
|
qtbot.add_widget(label)
|
||||||
label.setGeometry(200, 200, 200, 200)
|
|
||||||
long_string = 'Hello world! ' * 20
|
long_string = 'Hello world! ' * 20
|
||||||
label.setText(long_string)
|
label.setText(long_string)
|
||||||
label.resize(100, 50)
|
label.resize(100, 50)
|
||||||
|
Loading…
Reference in New Issue
Block a user