core-admin-client/qubesadmin/tests
Marek Marczykowski-Górecki f1424812b0
qvm-template: improve install lock
Use fcntl.flock() instead of just file existence check, so it won't fail
on a stale lock file. While at it, move locking to a function decorator,
to de-clutter the install function a bit. This will allow reducing
indentation level, but don't do it yet, to make the patch readable.

Move lock testing into a separate test, and remove it from install
tests.

QubesOS/qubes-issues#2534
2021-02-06 16:03:39 +01:00
..
backup backup/restore: better error detection for --paranoid-mode 2020-08-05 05:06:54 +02:00
tools qvm-template: improve install lock 2021-02-06 16:03:39 +01:00
vm Try to use new property.GetAll method to pre-fill the cache 2020-05-22 19:01:24 +02:00
__init__.py Make TestProcess.communicate return str instead of IO object 2020-09-07 01:18:59 +08:00
app.py Make incorrect label name error more descriptive 2020-08-13 20:21:46 +02:00
devices.py tests/devices: add test for handling listing device classes 2019-08-06 15:15:12 +02:00
errors.py Improve QubesDaemonNoResponseError error message 2017-08-12 15:15:52 +02:00
events.py Adjust for changed qubesd socket protocol 2020-05-22 19:01:24 +02:00
features.py features: serialize True as '1' 2017-07-28 13:56:05 +02:00
firewall.py Fixed inconsistent firewall address checking 2020-07-14 20:10:34 +02:00
label.py base: make WrapperObjectsCollection behave like a dict 2018-01-12 05:29:40 +01:00
storage.py Fixed metadata usage being served as strings 2019-11-19 00:39:17 +01:00
tags.py tags support 2017-06-20 01:34:16 +02:00
utils.py utils: fix encoding '+' for qubes.VMExec 2020-08-04 22:17:04 +02:00