this makes it possible to have more granular test execution reported as separate statuses on GitHub. ATM we will have: - cockpit/fedora-30 - cockpit/fedora-30/live-iso - cockpit/fedora-30/qcow2 - cockpit/fedora-30/aws - cockpit/fedora-30/azure - cockpit/fedora-30/openstack - cockpit/fedora-30/vmware
		
			
				
	
	
		
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			46 lines
		
	
	
		
			1.3 KiB
		
	
	
	
		
			Python
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/python3
 | |
| 
 | |
| import composertest
 | |
| import unittest
 | |
| 
 | |
| 
 | |
| class TestImages(composertest.ComposerTestCase):
 | |
|     """
 | |
|         This is the "entry-point" to the test suite when
 | |
|         executed in Cockpit CI. If $TEST_SCENARIO=="" or
 | |
|         $TEST_SCENARIO="images" we end up here.
 | |
| 
 | |
|         New test methods should be added here first!
 | |
|         When this target becomes too slow we split out into
 | |
|         separate scenarios!
 | |
|     """
 | |
|     def test_blueprint_sanity(self):
 | |
|         self.runCliTest("/tests/cli/test_blueprints_sanity.sh")
 | |
| 
 | |
|     def test_compose_sanity(self):
 | |
|         self.runCliTest("/tests/cli/test_compose_sanity.sh")
 | |
| 
 | |
|     def test_ext4_filesystem(self):
 | |
|         self.runCliTest("/tests/cli/test_compose_ext4-filesystem.sh")
 | |
| 
 | |
|     def test_partitioned_disk(self):
 | |
|         self.runCliTest("/tests/cli/test_compose_partitioned-disk.sh")
 | |
| 
 | |
|     def test_tar(self):
 | |
|         self.runCliTest("/tests/cli/test_compose_tar.sh")
 | |
| 
 | |
| 
 | |
| class TestQcow2(composertest.ComposerTestCase):
 | |
|     def test_qcow2(self):
 | |
|         self.runCliTest("/tests/cli/test_compose_qcow2.sh")
 | |
| 
 | |
| 
 | |
| class TestLiveIso(composertest.ComposerTestCase):
 | |
|     @unittest.skip("https://github.com/weldr/lorax/issues/731")
 | |
|     def test_live_iso(self):
 | |
|         self.runCliTest("/tests/cli/test_compose_live-iso.sh")
 | |
| 
 | |
| 
 | |
| if __name__ == '__main__':
 | |
|     composertest.main()
 |