docs: def expect(connection, strexp, timeout=10):
          '''
          Expect one expression
  
          @param connection: Connection to the host
          @type connection: L{Connection}
  
          @param strexp: string to convert to expression (.*string.*)
          @type strexp: str
  
          @param timeout: timeout for performing expect operation
          @type timeout: int
  
          @return: True if succeeded
          @rtype: bool
  
          @raises ExpectFailed
          '''
          return Expect.expect_list(connection,
                                    [(re.compile(".*" + strexp + ".*",
                                                 re.DOTALL), True)],
                                    timeout)