[oe-commits] Ed Bartosh : wic: oe-selftest: Add 3 tests of 'wic help' command

git at git.openembedded.org git at git.openembedded.org
Tue Jun 23 10:55:46 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 2009df2aa048bb51b7b3050b69a44fe414c4de9d
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=2009df2aa048bb51b7b3050b69a44fe414c4de9d

Author: Ed Bartosh <ed.bartosh at linux.intel.com>
Date:   Tue Jun 16 16:26:27 2015 +0300

wic: oe-selftest: Add 3 tests of 'wic help' command

Added tests for 'wic test overview', 'wic test plugins' and
'wic test kickstart' commands.

Signed-off-by: Ed Bartosh <ed.bartosh at linux.intel.com>

---

 meta/lib/oeqa/selftest/wic.py | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/meta/lib/oeqa/selftest/wic.py b/meta/lib/oeqa/selftest/wic.py
index 5fa190d..47b70fd 100644
--- a/meta/lib/oeqa/selftest/wic.py
+++ b/meta/lib/oeqa/selftest/wic.py
@@ -91,3 +91,15 @@ class Wic(oeSelfTest):
     def test08_no_command(self):
         """Test wic without command"""
         self.assertEqual(1, runCmd('wic', ignore_status=True).status)
+
+    def test09_help_kickstart(self):
+        """Test wic help overview"""
+        self.assertEqual(0, runCmd('wic help overview').status)
+
+    def test10_help_plugins(self):
+        """Test wic help plugins"""
+        self.assertEqual(0, runCmd('wic help plugins').status)
+
+    def test11_help_kickstart(self):
+        """Test wic help kickstart"""
+        self.assertEqual(0, runCmd('wic help kickstart').status)



More information about the Openembedded-commits mailing list