Re-add label.show() call

We don't actually show a window (so no need to use
waitForWindowShown/waitExposed), but we still need to make sure the
label is shown.
This commit is contained in:
Florian Bruhin 2016-10-26 14:54:35 +02:00
parent b9a7bdaab2
commit 96b4ab41c7

View File

@ -50,6 +50,8 @@ def test_elided_text(fake_statusbar, qtbot, elidemode, check):
long_string = 'Hello world! ' * 100
label.setText(long_string)
label.show()
assert check(label._elided_text)