tests: Also poll clipboard after setting it.
This commit is contained in:
parent
a90618128d
commit
302745e0fe
@ -213,8 +213,9 @@ def fill_clipboard(qtbot, qapp, httpbin, what, content):
|
|||||||
content = content.replace(r'\n', '\n')
|
content = content.replace(r'\n', '\n')
|
||||||
|
|
||||||
clipboard = qapp.clipboard()
|
clipboard = qapp.clipboard()
|
||||||
with qtbot.waitSignal(clipboard.changed):
|
|
||||||
clipboard.setText(content, mode)
|
clipboard.setText(content, mode)
|
||||||
|
_wait_for_clipboard(qtbot, qapp.clipboard(), mode, content)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@bdd.when(bdd.parsers.re(r'I put the following lines into the '
|
@bdd.when(bdd.parsers.re(r'I put the following lines into the '
|
||||||
|
Loading…
Reference in New Issue
Block a user