Commit 79648795 authored by Vincent Pelletier's avatar Vincent Pelletier

Prevent exception when logging repr(conn).

git-svn-id: https://svn.erp5.org/repos/neo/trunk@2110 71dcc9de-d417-0410-9af5-da40c76e7ee4
parent 661c955c
...@@ -443,6 +443,7 @@ class ClientApplicationTests(NeoTestBase): ...@@ -443,6 +443,7 @@ class ClientApplicationTests(NeoTestBase):
conn = Mock({ conn = Mock({
'getNextId': 1, 'getNextId': 1,
'getAddress': storage_address, 'getAddress': storage_address,
'__repr__': 'connection mock'
}) })
cell = Mock({ cell = Mock({
'getAddress': 'FakeServer', 'getAddress': 'FakeServer',
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment