diff options
Diffstat (limited to 'tests/vmtests/test_apt_config_cmd.py')
| -rw-r--r-- | tests/vmtests/test_apt_config_cmd.py | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/tests/vmtests/test_apt_config_cmd.py b/tests/vmtests/test_apt_config_cmd.py index a8479107..5a1c3222 100644 --- a/tests/vmtests/test_apt_config_cmd.py +++ b/tests/vmtests/test_apt_config_cmd.py @@ -6,7 +6,7 @@ """ import textwrap -from . import VMBaseClass +from . import VMBaseClass, skip_if_flag from .releases import base_vm_classes as relbase from curtin.config import load_config @@ -28,12 +28,14 @@ class TestAptConfigCMD(VMBaseClass): exit 0 """)] + @skip_if_flag('expected_failure') def test_cmd_proposed_enabled(self): """check if proposed was enabled""" self.output_files_exist(["proposed-enabled"]) self.check_file_regex("proposed-enabled", r"500.*%s-proposed" % self.release) + @skip_if_flag('expected_failure') def test_cmd_ppa_enabled(self): """check if specified curtin-dev ppa was enabled""" self.output_files_exist( @@ -44,6 +46,7 @@ class TestAptConfigCMD(VMBaseClass): r"curtin-dev/test-archive/ubuntu(/*)" r" %s main" % self.release)) + @skip_if_flag('expected_failure') def test_cmd_preserve_source(self): """check if cloud-init was prevented from overwriting""" self.output_files_exist(["curtin-preserve-sources.cfg"]) @@ -57,18 +60,22 @@ class XenialTestAptConfigCMDCMD(relbase.xenial, TestAptConfigCMD): """ XenialTestAptSrcModifyCMD apt feature Test for Xenial using the standalone command """ + expected_failure = True # XXX Broken for now __test__ = True class BionicTestAptConfigCMDCMD(relbase.bionic, TestAptConfigCMD): + expected_failure = True # XXX Broken for now __test__ = True class FocalTestAptConfigCMDCMD(relbase.focal, TestAptConfigCMD): + expected_failure = True # XXX Broken for now __test__ = True class JammyTestAptConfigCMDCMD(relbase.jammy, TestAptConfigCMD): + expected_failure = True # XXX Broken for now __test__ = True |
