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