From: <umg...@us...> - 2007-06-20 15:05:01
|
Revision: 427 http://svn.sourceforge.net/pybridge/?rev=427&view=rev Author: umgangee Date: 2007-06-20 08:04:58 -0700 (Wed, 20 Jun 2007) Log Message: ----------- Add call to startNextGame when bot becomes a player at game, don't name arguments to client.connect(). Modified Paths: -------------- trunk/pybridge/tests/monkey.py Modified: trunk/pybridge/tests/monkey.py =================================================================== --- trunk/pybridge/tests/monkey.py 2007-06-18 11:56:47 UTC (rev 426) +++ trunk/pybridge/tests/monkey.py 2007-06-20 15:04:58 UTC (rev 427) @@ -140,7 +140,10 @@ self.player = player self.position = position + d = self.player.callRemote('startNextGame') + d.addErrback(self.errback) + # Selection of calls and cards. @@ -263,7 +266,7 @@ client.factory.clientConnectionLost = lostConnection client.eventHandler = Monkey(client) - client.connect(hostname="localhost", port=5040) + client.connect("localhost", 5040) d = client.login(username, password) d.addCallbacks(client.eventHandler.connected, loginFailed) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |