core-admin/qubes/tests
Marek Marczykowski-Górecki c53582b285
tests: even more agressive cleanup in tearDown
Remove some more references to objects holding (possibly indirectly)
reference to libvirt connection:
 - local variables in tearDown function
 - running Admin API calls (especially admin.Events)
 - vmm._libvirt_conn directly, in case some reference to Qubes()
   is still there
 - any instance attribute that is an object from 'qubes' python package
   (instead of just those descending from BaseVM)
 - do not create new Qubes() instance for removing VMs - if we already
   have one in self.app

Then trigger garbage collector to really cleanup those objects (and
close relevant file descriptors). It's important do do this before
closing event loop, because some of descructors may try to use it (for
example remove registered handlers).
2017-07-26 03:27:00 +02:00
..
integ tests: more tests fixes 2017-07-26 03:26:58 +02:00
tools tests: adjust TC_00_QubesDaemonProtocol for reorganized api module 2017-06-21 06:59:58 +02:00
vm tests: fix AdminVM test 2017-07-26 03:26:40 +02:00
__init__.py tests: even more agressive cleanup in tearDown 2017-07-26 03:27:00 +02:00
api_admin.py tests: minor fixes to api/admin tests 2017-07-26 03:26:11 +02:00
api_misc.py qubes.NotifyTools: ignore '/qubes-tools/version' completely 2017-06-14 10:44:24 +02:00
api.py tests: adjust TC_00_QubesDaemonProtocol for reorganized api module 2017-06-21 06:59:58 +02:00
app.py qubes.tests asyncio 2017-05-29 17:34:15 +02:00
devices_block.py tests: fix block devices tests when running on real system 2017-07-12 21:33:14 +02:00
devices.py devices: make attach/detach related events async 2017-07-04 13:04:23 +02:00
events.py events: add support for async event handlers 2017-07-04 13:04:22 +02:00
ext.py qubes.NotifyTools: ignore '/qubes-tools/version' completely 2017-06-14 10:44:24 +02:00
extra.py When running tests clean up and remove qubesd.socket 2017-07-14 14:54:04 +02:00
firewall.py firewall: raise ValueError on invalid hostname in dsthost= 2017-07-26 03:26:58 +02:00
init.py tests: more tests fixes 2017-07-26 03:26:58 +02:00
run.py qubes/api: refactor creating multiple qubesd sockets 2017-06-21 00:17:37 +02:00
storage_file.py tests: various fixes for storage tests 2017-07-26 03:26:13 +02:00
storage_kernels.py tests: very basic tests for LinuxKernel pool 2017-05-17 11:17:22 +02:00
storage_lvm.py tests: various fixes for storage tests 2017-07-26 03:26:13 +02:00
storage.py tests: various fixes for storage tests 2017-07-26 03:26:13 +02:00
tarwriter.py qubes: port core to python3 2017-01-20 16:42:51 +01:00