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:
parent
b9a7bdaab2
commit
96b4ab41c7
@ -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)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user