fix a test

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-02-04 16:13:30 +01:00
parent f95877a09b
commit 02c129df7a
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ class TestRequest:
def test_func(something): pass
""")
req = funcargs.FuncargRequest(item)
py.test.raises(req.Error, req.getfuncargvalue, "notexists")
py.test.raises(req.LookupError, req.getfuncargvalue, "notexists")
val = req.getfuncargvalue("something")
assert val == 1
val = req.getfuncargvalue("something")