def testRemoveUnrecognizedCommandsWithFlag(self):
     # Negative Scenarios
     self.command1.set_install()
     _, c = common.remove_unrecognized_commands([self.command1])
     self.assertEqual(len(c), 1)
 def testRemoveUnrecognizedCommandsWithoutFlag(self):
     _, c = common.remove_unrecognized_commands([self.command1])
     self.assertEqual(len(c), 0)