Fix tests for change in exception type

This commit is contained in:
Jason Paryani
2014-01-14 09:44:21 -08:00
parent b0a7128230
commit f89af26fc3
4 changed files with 7 additions and 7 deletions

View File

@@ -59,7 +59,7 @@ def test_client(capability):
req = client.foo_request()
with pytest.raises(ValueError):
with pytest.raises(AttributeError):
req.baz = 1
def test_simple_client(capability):
@@ -113,7 +113,7 @@ def test_simple_client(capability):
with pytest.raises(ValueError):
remote = client.foo2(i=5)
with pytest.raises(ValueError):
with pytest.raises(AttributeError):
remote = client.foo(baz=5)
def test_pipeline(capability):