def wait_for_log(self, value: str) -> None:
        """Wait until a line in the log contains the given string.

        :param value: The string to search for.
        """
        assert self._log_read is not None

        while True:
            for line in self._log_read:
                if value in line:
                    return

            time.sleep(0.1)
Wait until a line in the log contains the given string.

        :param value: The string to search for.
        
tests/conftest.py