fix this test

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-02-05 22:57:46 +01:00
parent a3d15b2c60
commit 105ed6dcaa
1 changed files with 3 additions and 2 deletions

View File

@ -591,9 +591,10 @@ def test_trace_reporting(testdir):
@py.test.mark.nodist
def test_show_funcarg(testdir, option):
result = testdir.runpytest(*option._getcmdargs())
args = option._getcmdargs() + ["--funcargs"]
result = testdir.runpytest(*args)
assert result.stdout.fnmatch_lines([
"*tmpdir*",
"*temporary directory*",
]
])
)