tests: update for CallException handling

This commit is contained in:
Roman Zeyde
2016-03-06 22:05:30 +02:00
parent e10b42bbb5
commit 2a5196003e
2 changed files with 8 additions and 4 deletions

View File

@@ -52,7 +52,8 @@ def identity_type(**kwargs):
def load_client():
return factory.ClientWrapper(connection=FakeConnection(),
identity_type=identity_type,
device_name='DEVICE_NAME')
device_name='DEVICE_NAME',
call_exception=Exception)
BLOB = (b'\x00\x00\x00 \xce\xe0\xc9\xd5\xceu/\xe8\xc5\xf2\xbfR+x\xa1\xcf\xb0'