core-admin/qubes
Marek Marczykowski-Górecki f1621c01e9
tests: add search based on window class to wait_for_window
Searching based on class is used in many tests, searching by class, not
only by name in wait_for_window will allow to reduce code duplication.
While at it, improve it additionally:
 - avoid active waiting for window and use `xdotool search --sync` instead
 - return found window id
 - add wait_for_window_coro() for use where coroutine is needed
 - when waiting for window to disappear, check window id once and wait
   for that particular window to disappear (avoid xdotool race
   conditions on window enumeration)

Besides reducing code duplication, this also move various xdotool
imperfections handling into one place.
2018-10-15 05:08:25 +02:00
..
api api/admin: fix typo 2018-09-13 19:46:46 +00:00
ext Merge remote-tracking branch 'qubesos/pr/224' 2018-09-02 03:36:00 +02:00
qmemman qmemman: fix early crash 2018-01-18 17:36:37 +01:00
storage storage/reflink: use context managers in is_supported() 2018-09-13 19:46:48 +00:00
tests tests: add search based on window class to wait_for_window 2018-10-15 05:08:25 +02:00
tools app: uncouple pool setup from loading initial configuration 2018-09-11 23:50:25 +00:00
vm Add default_qrexec_timeout to qubes-prefs 2018-09-16 18:42:48 +00:00
__init__.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
app.py Add default_qrexec_timeout to qubes-prefs 2018-09-16 18:42:48 +00:00
backup.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
config.py app: create /var/lib/qubes as file-reflink if supported 2018-09-11 23:50:26 +00:00
core2migration.py Make pylint happy 2017-12-21 18:19:10 +01:00
devices.py Update documentation for device-attach event 2018-09-19 05:44:02 +02:00
dochelpers.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
events.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
exc.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
firewall.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
log.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
rngdoc.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00
tarwriter.py Change license to LGPL v2.1+ 2017-10-12 00:11:50 +02:00
utils.py Fix issues found by pylint 2.0 2018-07-15 23:51:15 +02:00