Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							d1d72466d6 
							
						 
					 
					
						
						
							
							Remove unneeded imports from tests/int.basic  
						
						
						
					 
					
						2016-04-20 13:59:55 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							7117847816 
							
						 
					 
					
						
						
							
							tests: fix int.dom0_update  
						
						... 
						
						
						
						Environment must be preserved for QUBES_XML_PATH variable used to point
to a secondary (test) qubes.xml. 
						
					 
					
						2016-04-20 02:26:56 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a707840596 
							
						 
					 
					
						
						
							
							tests: fix and enable external tests loader  
						
						... 
						
						
						
						QubesOS/qubes-issues#1800  
					
						2016-04-20 02:26:16 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							a1575b98d4 
							
						 
					 
					
						
						
							
							tests: do not drop 'qubes.tests.' prefix  
						
						... 
						
						
						
						This cause troubles with "external" tests (loaded from outside of
qubes.tests module). 
						
					 
					
						2016-04-20 02:25:56 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							eaf5efd814 
							
						 
					 
					
						
						
							
							tests: convert 'extra' test loader to core3 API  
						
						... 
						
						
						
						QubesOS/qubes-issues#1800  
					
						2016-04-11 13:50:19 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							8c6fe7ed90 
							
						 
					 
					
						
						
							
							Merge remote-tracking branch 'origin/master' into core3-devel-mm  
						
						
						
					 
					
						2016-04-11 13:03:12 +02:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							c5962910d0 
							
						 
					 
					
						
						
							
							qubes/events: Rework firing events for effect  
						
						... 
						
						
						
						From now, the handlers should yield their values, not return. 
						
					 
					
						2016-04-08 12:35:11 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							20d53fbf69 
							
						 
					 
					
						
						
							
							tests: more VMs combinations in backup  
						
						... 
						
						
						
						VM with custom template, non-default NetVM
This requires to VMs being removed in reversed order (to first remove
VM, then its template). 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							424d3054f3 
							
						 
					 
					
						
						
							
							backup: use vm.features to store backup-specific metadata  
						
						... 
						
						
						
						Do not keep them in system qubes.xml. 
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c55ca8004a 
							
						 
					 
					
						
						
							
							tests: port backupcompatibility to core3 API  
						
						
						
					 
					
						2016-04-07 13:21:00 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							44eed25511 
							
						 
					 
					
						
						
							
							tests/backup: report failure when error was expected but none detected  
						
						
						
					 
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							3342f637f4 
							
						 
					 
					
						
						
							
							backup: convert logging to proper python logging API  
						
						... 
						
						
						
						QubesOS/qubes-issues#1213 
QubesOS/qubes-issues#1214  
					
						2016-04-07 13:20:59 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							019678bf4d 
							
						 
					 
					
						
						
							
							tests: fix backup test to not break default template...  
						
						... 
						
						
						
						By default AppVM is template based. This means vm.root_img points at
default template's root image. Change this to StandaloneVM to have
independent root.img. 
						
					 
					
						2016-04-07 13:06:25 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e557fe9989 
							
						 
					 
					
						
						
							
							backup: restructude the code into classes  
						
						... 
						
						
						
						Introduce two main classes Backup and BackupRestore for storing the
state of the desired operation. Then a simple interface to adjust
parameters.
(Almost) no functional change.
QubesOS/qubes-issues#1213 
QubesOS/qubes-issues#1214  
						
					 
					
						2016-04-07 13:06:14 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							fd1f8def6a 
							
						 
					 
					
						
						
							
							tests: do not store dom0 home backup inside of dom0 home itself  
						
						
						
					 
					
						2016-04-07 13:05:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							e0686e1e02 
							
						 
					 
					
						
						
							
							backup: initial conversion to core3 API  
						
						
						
					 
					
						2016-04-07 13:05:25 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							12df07edd0 
							
						 
					 
					
						
						
							
							tests: invalid property should not be saved to qubes.xml  
						
						
						
					 
					
						2016-04-07 13:03:42 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c07981da88 
							
						 
					 
					
						
						
							
							tests: allow real prefix notation for selecting tests  
						
						
						
					 
					
						2016-04-07 13:03:35 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							7f5feac98b 
							
						 
					 
					
						
						
							
							qubes/vm: fixes for features handling  
						
						... 
						
						
						
						Properly handle 'None' value, there is no difference between empty
string (<x></x>) and no content at all (<x/>). 
						
					 
					
						2016-04-07 13:03:30 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							06c315c94b 
							
						 
					 
					
						
						
							
							qubes: fix/update event names  
						
						... 
						
						
						
						Fix few typos, then rename:
 - recreate-appmenus -> domain-restore: there may be more to do than
 only appmenus 
						
					 
					
						2016-04-07 12:59:39 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							6052143735 
							
						 
					 
					
						
						
							
							tests: qvm-prefs  
						
						... 
						
						
						
						QubesOS/qubes-issues#1248  
					
						2016-04-07 12:57:57 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							43435405e7 
							
						 
					 
					
						
						
							
							tests: update checking 'None' VM representation  
						
						
						
					 
					
						2016-04-07 12:57:47 +02:00 
						 
				 
			
				
					
						
							
							
								Bahtiar `kalkin-` Gadimov 
							
						 
					 
					
						
						
						
						
							
						
						
							b1978abce5 
							
						 
					 
					
						
						
							
							Use entry_points for pool driver discovery  
						
						... 
						
						
						
						- Add qubes.storage entry point to setup.py
- Removed the old pool driver class loading logic
- Reworked pool tests 
						
					 
					
						2016-04-06 10:11:19 +02:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							54784405bd 
							
						 
					 
					
						
						
							
							tests: adjust networking tests  
						
						
						
					 
					
						2016-03-21 11:43:33 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							34fe4a2d71 
							
						 
					 
					
						
						
							
							tests: add function to provide real network to test case  
						
						... 
						
						
						
						Very few tests should use it, as it makes the test result somehow
dependent on outside world state. But still, some of them need it. 
						
					 
					
						2016-03-21 11:43:33 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							422f30b969 
							
						 
					 
					
						
						
							
							tests: port network tests to core3 API  
						
						
						
					 
					
						2016-03-21 11:43:32 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							df5562d2c7 
							
						 
					 
					
						
						
							
							tests: fix rename test to report FAIL instead of ERROR when really failed  
						
						
						
					 
					
						2016-03-21 11:43:32 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							394fa1e5d3 
							
						 
					 
					
						
						
							
							qubes/tests: tests for qubes.devices  
						
						
						
					 
					
						2016-03-21 11:43:32 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							d09bd5ab6a 
							
						 
					 
					
						
						
							
							qubes: Convert QubesVM and Extension discovery to pkg_resources  
						
						... 
						
						
						
						QubesOS/qubes-issues#1238  
					
						2016-03-21 11:43:32 +01:00 
						 
				 
			
				
					
						
							
							
								Wojtek Porczyk 
							
						 
					 
					
						
						
						
						
							
						
						
							93686eae06 
							
						 
					 
					
						
						
							
							qubes/vm: change services to features  
						
						
						
					 
					
						2016-03-21 11:43:32 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							5dca051b32 
							
						 
					 
					
						
						
							
							tests: enable storage tests  
						
						
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c0c0e0022e 
							
						 
					 
					
						
						
							
							tests: convert storage tests to core3 API  
						
						... 
						
						
						
						QubesOS/qubes-issues# 
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							14f31134c0 
							
						 
					 
					
						
						
							
							tests: move make_vm_name to QubesTestCase  
						
						... 
						
						
						
						This function is often useful also in unit tests, not only integration
tests. 
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							68ed50c97d 
							
						 
					 
					
						
						
							
							tests: enable dom0 update tests  
						
						
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							fb74126e56 
							
						 
					 
					
						
						
							
							tests: convert dom0 update test to core3 API  
						
						
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							0307ec22f2 
							
						 
					 
					
						
						
							
							tests: resolve template name when copying from host collection  
						
						
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							81dbe3628f 
							
						 
					 
					
						
						
							
							tests: skip system tests if not in dom0  
						
						
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							50819c726c 
							
						 
					 
					
						
						
							
							tests: set QUBES_XML_PATH env variable to force usage of qubes-test.xml  
						
						... 
						
						
						
						This way even separate processes (even those started not directly - like
qrexec service calls) will use correct qubes.xml file.
Fixes  QubesOS/qubes-issues#1730  
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							79a6da1163 
							
						 
					 
					
						
						
							
							tests: split off invalid values tests for better reporting  
						
						... 
						
						
						
						Most of them fails for now... 
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							c45c91c5f0 
							
						 
					 
					
						
						
							
							tests: improve verbosity of assertNotRaises even further  
						
						... 
						
						
						
						Include traceback in error message. 
						
					 
					
						2016-03-03 01:18:17 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							5a409ad417 
							
						 
					 
					
						
						
							
							tests: few more (disabled for now) tests for hvm related properties  
						
						
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							1b69f5c213 
							
						 
					 
					
						
						
							
							tests: make test cleanup more defensive - qubes.xml load failure  
						
						... 
						
						
						
						If qubes.xml doesn't even load, remove it anyway and clean up the VMs
the hard way. 
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							9633573408 
							
						 
					 
					
						
						
							
							core: adjust units comment for host.memory_total, and fix related places  
						
						... 
						
						
						
						QubesOS/qubes-issues#1737  
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							12941d67bf 
							
						 
					 
					
						
						
							
							tests: do not unnecessary mangle test name passed as runner parameter  
						
						... 
						
						
						
						Otherwise `qubes.tests.run -l` output would not be useful as input for
test list. 
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							05d006b873 
							
						 
					 
					
						
						
							
							tests: minor fixes in int.tools tests  
						
						
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							163ab25d4b 
							
						 
					 
					
						
						
							
							tests: enable qubes.tests.int.basic  
						
						... 
						
						
						
						It is fully converted to core3 API (or tests marked as 'skip' if not),
so can be reenabled. 
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							9b1b82c592 
							
						 
					 
					
						
						
							
							tests: move properties tests to QubesVM unit tests  
						
						... 
						
						
						
						Since qvm-prefs is now a generic tool without any property-specific
stuff, we can tests properties getters/setters in QubesVM class unit
tests.
Now most of properties are tested. Some of those tests still fails
because missing/incomplete underlying implementation. 
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							81bc615bce 
							
						 
					 
					
						
						
							
							tests: convert tests/int/basic to core3 API  
						
						... 
						
						
						
						Not all tests converted - some of them will be removed in the next
commit. Also it doesn't mean that all tested functionality already
works... 
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							2daba9e0eb 
							
						 
					 
					
						
						
							
							core: migrate handy GUI functions and backup mixin from core2  
						
						... 
						
						
						
						That's all from tests/__init__.py, so remove that file. 
						
					 
					
						2016-03-03 01:18:16 +01:00 
						 
				 
			
				
					
						
							
							
								Marek Marczykowski-Górecki 
							
						 
					 
					
						
						
						
						
							
						
						
							bc82643580 
							
						 
					 
					
						
						
							
							tests: redo "84af738 tests: support VMs cleaned up in tearDownClass..."  
						
						... 
						
						
						
						Usage: VMs with name created by self.make_vm_name(name,
class_teardown=True) will be cleaned up in tearDownClass. It
should be used only in setUpClass.
Fixes  QubesOS/qubes-issues#1691  
						
					 
					
						2016-03-03 01:18:16 +01:00