def test_two_string_wildcard(self): """Function: test_two_string_wildcard Description: Test with two string wildcards. Arguments: """ n_array = arg_parser.arg_wildcard(self.args_array8, self.opt_wildcard3) self.assertEqual(n_array, self.test_array3)
def test_empty_optwildcard(self): """Function: test_empty_optwildcard Description: Test with empty list for opt_wildcard. Arguments: """ n_array = arg_parser.arg_wildcard(self.args_array, self.opt_wildcard) self.assertEqual(n_array, self.test_array)
def test_one_wildcard(self): """Function: test_one_wildcard Description: Test with one wildcard. Arguments: """ n_array = arg_parser.arg_wildcard(self.args_array2, self.opt_wildcard2) self.assertEqual(n_array, self.test_array2)
def test_one_wildcard2(self): """Function: test_one_wildcard2 Description: Test with one wildcard. Arguments: """ n_array = arg_parser.arg_wildcard(self.args_array4, self.opt_wildcard2) self.assertEqual(n_array["-a"].sort(), self.test_array4["-a"].sort())
def test_str_list_wildcard(self): """Function: test_str_list_wildcard Description: Test with string and list wildcard. Arguments: """ n_array = arg_parser.arg_wildcard(self.args_array7, self.opt_wildcard3) self.assertEqual(n_array, self.test_array3)
def test_two_wildcard2(self): """Function: test_two_wildcard2 Description: Test with two wildcards. Arguments: """ n_array = arg_parser.arg_wildcard(self.args_array5, self.opt_wildcard3) self.assertEqual( n_array["-a"].sort(), self.test_array5["-a"].sort() and n_array["-b"], self.test_array5["-b"])