def METHOD_NAME(self):
    """We need tests to check the failure handling, as outputs, file and
    sampling points  are not handled by the grass parser"""
    # No outputs
    self.assertModuleFail(
        "r.series.interp",
        input="prec_1,prec_5",
        datapos=(0.0, 1.0),
        samplingpos=(0.25, 0.5, 0.75),
        method="linear",
    )
    # No sampling points
    self.assertModuleFail(
        "r.series.interp",
        input="prec_1,prec_5",
        datapos=(0.0, 1.0),
        output="prec_2,prec_3,prec_4",
    )
    # Output and file at once
    self.assertModuleFail(
        "r.series.interp",
        input="prec_1,prec_5",
        datapos=(0.0, 1.0),
        outfile="outfile_1.txt",
        output="prec_2,prec_3,prec_4",
        samplingpos=(0.25, 0.5, 0.75),
        method="linear",
    )
    # Sampling points and file at once
    self.assertModuleFail(
        "r.series.interp",
        input="prec_1,prec_5",
        datapos=(0.0, 1.0),
        outfile="outfile_1.txt",
        samplingpos=(0.25, 0.5, 0.75),
        method="linear",
    )
    # Wrong input file
    self.assertModuleFail(
        "r.series.interp",
        input="prec_1,prec_5",
        datapos=(0.0, 1.0),
        outfile="mo_such_file",
        method="linear",
    )
    # Wrong input file
    self.assertModuleFail(
        "r.series.interp",
        input="prec_1,prec_5",
        datapos=(0.0, 1.0),
        outfile="outfile_corrupt.txt",
        method="linear",
    )