[Erp5-report] r39168 luke - /erp5/trunk/products/ERP5Wizard/tests/testERP5RemoteUserManager.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Thu Oct 14 16:33:02 CEST 2010
Author: luke
Date: Thu Oct 14 16:33:02 2010
New Revision: 39168
URL: http://svn.erp5.org?rev=39168&view=rev
Log:
- fix typo
- invert assertion
Modified:
erp5/trunk/products/ERP5Wizard/tests/testERP5RemoteUserManager.py
Modified: erp5/trunk/products/ERP5Wizard/tests/testERP5RemoteUserManager.py
URL: http://svn.erp5.org/erp5/trunk/products/ERP5Wizard/tests/testERP5RemoteUserManager.py?rev=39168&r1=39167&r2=39168&view=diff
==============================================================================
--- erp5/trunk/products/ERP5Wizard/tests/testERP5RemoteUserManager.py [utf8] (original)
+++ erp5/trunk/products/ERP5Wizard/tests/testERP5RemoteUserManager.py [utf8] Thu Oct 14 16:33:02 2010
@@ -368,7 +368,7 @@ class TestERP5RemoteUserManager(ERP5Type
from Products.ERP5Wizard.Tool.WizardTool import WizardTool
original_callRemoteProxyMethod=WizardTool.callRemoteProxyMethod
try:
- WizardTool.callRemoteProxyMethod = raises_value_error
+ WizardTool.callRemoteProxyMethod = raises_valueerror
self.assertRaises(ValueError,
self.portal.portal_wizard.callRemoteProxyMethod)
self.assertEqual(expected,
@@ -390,7 +390,7 @@ class TestERP5RemoteUserManager(ERP5Type
WizardTool.callRemoteProxyMethod = raises_socket_gaierror
self.assertRaises(socket.gaierror,
self.portal.portal_wizard.callRemoteProxyMethod)
- self.checkLogin(('someone', 'someone'), kw)
+ self.checkLogin(None, kw)
finally:
WizardTool.callRemoteProxyMethod = original_callRemoteProxyMethod
More information about the Erp5-report
mailing list