[svn r38216] Adjusting the conftest-for-socketgateway example so it takes care of the -S

option (like the default one does), this caused some test failure.

--HG--
branch : trunk
This commit is contained in:
guido 2007-02-08 23:50:00 +01:00
parent 9a0fa93ce6
commit 0bd286ba94
1 changed files with 9 additions and 0 deletions

View File

@ -16,6 +16,15 @@ from py.__.test.terminal.remote import RemoteTerminalSession
import os
Option = py.test.config.Option
option = py.test.config.addoptions("execnet options",
Option('-S', '',
action="store", dest="sshtarget", default=None,
help=("target to run tests requiring ssh, e.g. "
"user@codespeak.net")),
)
class MyRSync(py.execnet.RSync):
def filter(self, path):
if path.endswith('.pyc') or path.endswith('~'):