summaryrefslogtreecommitdiff
path: root/tests/vmtests/test_apt_source.py
diff options
context:
space:
mode:
authorChristian Ehrhardt <[email protected]>2016-07-26 13:30:35 +0000
committerChristian Ehrhardt <[email protected]>2016-07-26 13:30:35 +0000
commit9b5b0ea17b80134d244443dda471006d3af52cc1 (patch)
tree0d214e90c9cbf9b0024aa081736305ead696b13a /tests/vmtests/test_apt_source.py
parenteba85737d293a69dc69c6e6a483cb5d40261e717 (diff)
change standalong apt command test to be vmtest based
bzr-revno: 389.7.219
Diffstat (limited to 'tests/vmtests/test_apt_source.py')
-rw-r--r--tests/vmtests/test_apt_source.py26
1 files changed, 19 insertions, 7 deletions
diff --git a/tests/vmtests/test_apt_source.py b/tests/vmtests/test_apt_source.py
index c83f6ed9..6ee4d9ee 100644
--- a/tests/vmtests/test_apt_source.py
+++ b/tests/vmtests/test_apt_source.py
@@ -168,6 +168,11 @@ class TestAptSrcModifyArches(TestAptSrcModify):
conf_file = "examples/tests/apt_source_modify_arches.yaml"
+class TestAptSrcModifyCMD(TestAptSrcModify):
+ """TestAptSrcModify - like TestAptSrcModify, but via standaline command"""
+ conf_file = "examples/tests/apt_source_command.yaml"
+
+
class TestAptSrcSearch(TestAptSrcAbs):
"""TestAptSrcSearch - tests checking a list of mirror options"""
conf_file = "examples/tests/apt_source_search.yaml"
@@ -228,48 +233,55 @@ class TestAptSrcSearchDNS(VMBaseClass):
class XenialTestAptSrcCustom(relbase.xenial, TestAptSrcCustom):
""" XenialTestAptSrcCustom
- Apt_source Test for Xenial with a custom template
+ apt feature Test for Xenial with a custom template
"""
__test__ = True
class XenialTestAptSrcPreserve(relbase.xenial, TestAptSrcPreserve):
""" XenialTestAptSrcPreserve
- Apt_source Test for Xenial with apt_preserve_sources_list enabled
+ apt feature Test for Xenial with apt_preserve_sources_list enabled
"""
__test__ = True
class XenialTestAptSrcModify(relbase.xenial, TestAptSrcModify):
""" XenialTestAptSrcModify
- Apt_source Test for Xenial modifying the sources.list of the image
+ apt feature Test for Xenial modifying the sources.list of the image
"""
__test__ = True
class XenialTestAptSrcSearch(relbase.xenial, TestAptSrcSearch):
""" XenialTestAptSrcModify
- Apt_source Test for Xenial searching for mirrors
+ apt feature Test for Xenial searching for mirrors
"""
__test__ = True
class XenialTestAptSrcSearchDNS(relbase.xenial, TestAptSrcSearchDNS):
""" XenialTestAptSrcModify
- Apt_source Test for Xenial searching for predefined DNS names
+ apt feature Test for Xenial searching for predefined DNS names
"""
__test__ = True
class XenialTestAptSrcModifyArches(relbase.xenial, TestAptSrcModifyArches):
""" XenialTestAptSrcModifyArches
- Apt_source Test for Xenial checking per arch mirror specification
+ apt feature Test for Xenial checking per arch mirror specification
"""
__test__ = True
class XenialTestAptSrcDisablePockets(relbase.xenial, TestAptSrcDisablePockets):
""" XenialTestAptSrcDisablePockets
- Apt_source Test for Xenial disabling a suite
+ apt feature Test for Xenial disabling a suite
+ """
+ __test__ = True
+
+
+class XenialTestAptSrcModifyCMD(relbase.xenial, TestAptSrcModifyCMD):
+ """ XenialTestAptSrcModifyCMD
+ apt feature Test for Xenial using the standalone command
"""
__test__ = True