コード例 #1
0
ファイル: ssh.py プロジェクト: mihaic/p2p-testframework
    def prepare(self):
        """
        Execute commands on the remote host needed for host specific preparation.

        The default implementation simply ensures the existence of a remote directory.
        """
        host.prepare(self)
コード例 #2
0
    def prepare(self):
        """
        Execute commands on the remote host needed for host specific preparation.

        The default implementation simply ensures the existence of a remote directory.
        """
        # TODO: Prepare anything you may need before being able to set up a connection, first.
        #
        # Then do this call, and definitely do this call unless you know what you're doing:
        host.prepare(self)