Example #1
0
 def test_nbr_arg3(self):
     self.assertEqual(error.error_nbr_arg(3), 0)
Example #2
0
 def test_nbr_arg2(self):
     with self.assertRaises(SystemExit) as cm:
         error.error_nbr_arg(4)
     self.assertEqual(cm.exception.code, 84)