def test_empty_optxordict(self): """Function: test_empty_optxordict Description: Test with empty list for opt_xor_dict. Arguments: """ self.assertTrue( arg_parser.arg_xor_dict(self.args_array2, self.opt_xor_dict))
def test_multiple_miss(self): """Function: test_multiple_miss Description: Test with multiple keys with one not present. Arguments: """ self.assertTrue( arg_parser.arg_xor_dict(self.args_array2, self.opt_xor_dict3))
def test_both_empty(self): """Function: test_both_empty Description: Test with both args with empty sets. Arguments: """ self.assertTrue( arg_parser.arg_xor_dict(self.args_array, self.opt_xor_dict))
def test_empty_argsarray(self): """Function: test_empty_argsarray Description: Test with empty args_array. Arguments: """ self.assertTrue( arg_parser.arg_xor_dict(self.args_array, self.opt_xor_dict2))
def test_key_only(self): """Function: test_key_only Description: Test with key option present. Arguments: """ self.assertTrue( arg_parser.arg_xor_dict(self.args_array2, self.opt_xor_dict2))
def test_multiple_lists(self): """Function: test_multiple_lists Description: Test with multiple lists present. Arguments: """ self.assertTrue( arg_parser.arg_xor_dict(self.args_array6, self.opt_xor_dict3))
def test_multiple_mix(self): """Function: test_multiple_mix Description: Test with multiple key/list present. Arguments: """ self.assertTrue( arg_parser.arg_xor_dict(self.args_array8, self.opt_xor_dict3))
def test_multiple_miss2(self): """Function: test_multiple_miss2 Description: Test with multiple keys with one failure. Arguments: """ with gen_libs.no_std_out(): self.assertFalse( arg_parser.arg_xor_dict(self.args_array7, self.opt_xor_dict3))
def test_both_present(self): """Function: test_both_present Description: Test with both key and list options present. Arguments: """ with gen_libs.no_std_out(): self.assertFalse( arg_parser.arg_xor_dict(self.args_array4, self.opt_xor_dict2))