def get_rpi_hostname(self):
    """
    Returns hostname from the Pi

    :returns: String containing hostname of the Pi
    """
    hostname = self.run_command_get_output('hostname').replace("\n", "")
    return hostname