def __init__()

in tsqa/environment.py [0:0]


    def __init__(self, layout=None):
        """
        Initialize a new Environment.
        """
        self.cop = None
        # TODO: parse config? Don't like the separate hostports...
        self.hostports = []
        if layout:
            self.layout = layout
        else:
            self.layout = None