def test_two_match_success(self): """Function: test_two_match_success Description: Test with two matches and is successful. Arguments: """ self.assertTrue( arg_parser.arg_noreq_xor(self.args_array4, self.xor_noreq_list3))
def test_empty_argsarray(self): """Function: test_empty_argsarray Description: Test with empty dictionary for args_array. Arguments: """ self.assertTrue( arg_parser.arg_noreq_xor(self.args_array, self.xor_noreq_list2))
def test_empty_xornoreqlist(self): """Function: test_empty_xornoreqlist Description: Test with empty dictionary for xor_noreq_list. Arguments: """ self.assertTrue( arg_parser.arg_noreq_xor(self.args_array2, self.xor_noreq_list))
def test_one_match_success(self): """Function: test_one_match_success Description: Test with one match and is successful. Arguments: """ self.assertTrue( arg_parser.arg_noreq_xor(self.args_array2, self.xor_noreq_list2))
def test_two_match_one_fail(self): """Function: test_two_match_one_fail Description: Test with two matches and one is failure. Arguments: """ with gen_libs.no_std_out(): self.assertFalse( arg_parser.arg_noreq_xor(self.args_array5, self.xor_noreq_list3))
def test_one_match_fail(self): """Function: test_one_match_fail Description: Test with one match and is failure. Arguments: """ with gen_libs.no_std_out(): self.assertFalse( arg_parser.arg_noreq_xor(self.args_array3, self.xor_noreq_list2))