def METHOD_NAME(self):
    """This tests if Python module works"""
    find_program("ls", "--version")
    write_command(
        "r.category",
        map=self.raster,
        rules="-",
        stdin="1:kůň\n2:kráva\n3:ovečka\n4:býk",
        separator=":",
    )
    res = read_command("r.category", map=self.raster, separator=":").strip()
    self.assertEqual(res, "1:kůň\n2:kráva\n3:ovečka\n4:býk")
    self.assertIsInstance(res, str)