core-admin/qubes/tests
Marek Marczykowski-Górecki 64b83fa95a
admin: raise QubesNoSuchPropertyError for non-existing properties
Accessing non-existing property is a common action (for example
hasattr() do try to access the property). So, introduce specific
exception, inheriting from AttributeError. It will behave very similar
to standard (non-Admin-API) property access.

This exception is reported to the Admin API user, so it will be possible
to distinguish between non-existing property and access denied. But it
isn't any significant information leak, as list of valid properties is
publicly available in the source code.

QubesOS/qubes-issues#853
2017-05-23 04:32:59 +02:00
..
integ Remove tools that are moved to -client repository 2017-05-12 18:43:35 +02:00
tools Rename MgmtAPI to AdminAPI - part 1: classes 2017-05-12 19:28:07 +02:00
vm devices: adjust XML serialization of device options 2017-05-22 17:11:20 +02:00
__init__.py tests: very basic tests for LinuxKernel pool 2017-05-17 11:17:22 +02:00
api_admin.py admin: raise QubesNoSuchPropertyError for non-existing properties 2017-05-23 04:32:59 +02:00
app.py qubes/events: they accept only keyword arguments 2017-02-21 14:46:42 +01:00
devices.py Devices-related formating fixes 2017-05-22 03:21:13 +02:00
events.py events: add support for per-instance handlers 2017-05-12 14:25:32 +02:00
extra.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
firewall.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
init.py qubes/events: they accept only keyword arguments 2017-02-21 14:46:42 +01:00
run.py qubes: port core to python3 2017-01-20 16:42:51 +01:00
storage_file.py storage: support asynchronous storage pool implementations 2017-05-12 17:04:18 +02:00
storage_kernels.py tests: very basic tests for LinuxKernel pool 2017-05-17 11:17:22 +02:00
storage_lvm.py tests: rearrage LVM thin tests to run at least some in devel env 2017-05-12 18:10:17 +02:00
storage.py mgmt: vm.Create* and vm.Clone 2017-05-12 17:04:18 +02:00
tarwriter.py qubes: port core to python3 2017-01-20 16:42:51 +01:00