2019-04-12 18:17:28 +00:00
|
|
|
#!/usr/bin/python3
|
|
|
|
|
|
|
|
import composertest
|
2019-05-23 18:18:34 +00:00
|
|
|
import unittest
|
2019-04-12 18:17:28 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TestSanity(composertest.ComposerTestCase):
|
|
|
|
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")
|
|
|
|
|
|
|
|
|
|
|
|
class TestImages(composertest.ComposerTestCase):
|
|
|
|
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")
|
|
|
|
|
|
|
|
def test_qcow2(self):
|
|
|
|
self.runCliTest("/tests/cli/test_compose_qcow2.sh")
|
|
|
|
|
2019-05-23 18:18:34 +00:00
|
|
|
@unittest.skip("https://github.com/weldr/lorax/issues/731")
|
2019-04-12 18:17:28 +00:00
|
|
|
def test_live_iso(self):
|
|
|
|
self.runCliTest("/tests/cli/test_compose_live-iso.sh")
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
composertest.main()
|