def __init__(self, hostname, username, password, timeout=<NUM_LIT>, optional_args=None):
self.hostname = hostname<EOL>self.username = username<EOL>self.password = password<EOL>self.path = optional_args.get("<STR_LIT:path>", "<STR_LIT>")<EOL>self.profile = optional_args.get("<STR_LIT>", [])<EOL>self.fail_on_open = optional_args.get("<STR_LIT>", False)<EOL>self.opened = False<EOL>self.calls = {}<EOL>self.device = MockDevice(self, self.profile)<EOL>self.merge = None<EOL>self.filename = None<EOL>self.config = None<EOL>
Supported optional_args:
    * path(str) - path to where the mocked files are located
    * profile(list) - List of profiles to assign