[svn r63018] rename "--hosts" to "--gateways" to make naming more consistent with py.execnet

--HG--
branch : trunk
This commit is contained in:
hpk
2009-03-18 00:58:06 +01:00
parent d626a63934
commit b5b7f9b3a9
6 changed files with 25 additions and 25 deletions

View File

@@ -265,7 +265,7 @@ class TestPyTest:
py.test.skip("hello")
""",
)
result = testdir.runpytest(p1, '-d', '--hosts=popen,popen')
result = testdir.runpytest(p1, '-d', '--gateways=popen,popen')
result.stdout.fnmatch_lines([
"HOSTUP: popen*Python*",
#"HOSTUP: localhost*Python*",
@@ -288,7 +288,7 @@ class TestPyTest:
""",
)
testdir.makeconftest("""
pytest_option_hosts='popen,popen,popen'
pytest_option_gateways='popen,popen,popen'
""")
result = testdir.runpytest(p1, '-d')
result.stdout.fnmatch_lines([
@@ -320,7 +320,7 @@ class TestPyTest:
os.kill(os.getpid(), 15)
"""
)
result = testdir.runpytest(p1, '-d', '--hosts=popen,popen,popen')
result = testdir.runpytest(p1, '-d', '--gateways=popen,popen,popen')
result.stdout.fnmatch_lines([
"*popen*Python*",
"*popen*Python*",