def test_crt_dump_cmd(self): """Function: test_crt_dump_cmd Description: Test with only default arguments passed. Arguments: """ self.assertEqual( mysql_db_dump.crt_dump_cmd(self.server, [], self.opt_arg_list, self.opt_dump_list), self.results)
def test_empty_opt_arg_list(self): """Function: test_empty_opt_arg_list Description: Test with empty opt_arg_list list. Arguments: """ self.assertEqual( mysql_db_dump.crt_dump_cmd(self.server, self.args_array, [], self.opt_dump_list), self.results3)
def test_p_option(self): """Function: test_p_option Description: Test with -p option passed. Arguments: """ self.assertEqual( mysql_db_dump.crt_dump_cmd(self.server, self.args_array, self.opt_arg_list, self.opt_dump_list), self.results2)
def test_multiple_opt_arg_list(self): """Function: test_multiple_opt_arg_list Description: Test with multiple entries in list. Arguments: """ self.assertEqual( mysql_db_dump.crt_dump_cmd(self.server, self.args_array, self.opt_arg_list2, self.opt_dump_list), self.results4)