Fixed failure of test_unsupported_subcommand caused by
switching to argparser by checking that parser returns
non-zero return code.
[YOCTO #9636]
Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
@testcase(1213)
def test_unsupported_subcommand(self):
"""Test unsupported subcommand"""
- self.assertEqual(1, runCmd('wic unsupported',
- ignore_status=True).status)
+ self.assertNotEqual(0, runCmd('wic unsupported', ignore_status=True).status)
@testcase(1214)
def test_no_command(self):