Exemplo n.º 1
0
 def testRemoveIgnoredCommandsWithoutIgnoreFlag(self):
     # Negative Scenarios
     _, c = common.remove_ignored_commands([self.command1])
     self.assertEqual(len(c), 1)
Exemplo n.º 2
0
 def testRemoveIgnoredCommandsWithIgnoreFlag(self):
     self.command1.set_ignore()
     _, c = common.remove_ignored_commands([self.command1])
     self.assertEqual(len(c), 0)