Esempio n. 1
0
    def __init__(self, file=None, url=None):
        """
        Initializes runner instance.

        :param file: RST file with documentation.
        :type file: str

        :param url: URL against which requests are made.
        :type url: str
        """
        load_directives()
        self.file = settings.file = file or settings.file
        self.url = settings.url = url or settings.url
        self.rendered = None