Author: bkuhn
Date: Mon Jan 21 20:22:34 2008
New Revision: 3569

URL: http://svn.gna.org/viewcvs/pokersource?rev=3569&view=rev
Log:
 [EMAIL PROTECTED]:  bkuhn | 2008-01-21 14:21:07 -0500
   * In tests/test-pokertable.py.in, I fixed test13_disconnect and
     test99_destroy_table by making sure the MockClient has a tables as a
     member object that is a dictionary indexed by table.game.id and that
     its deletion is managed by PokerTable.  Loic basically agrees that
     this is an abstraction breech, and that eventually the
     PokerClient.removeTable() should be a method that PokerTable calls.
     For the moment, I wrote tests that test both the current behavior and
     the behavior we want.  (See the "altForNewClientAPI" tests for the
     latter.  Currently they are disabled by just returning True until the
     API is changed.)
 
   # Added FIXME note to pokernetwork/pokertable.py about the abstraction
     breech.

Modified:
    trunk/   (props changed)
    trunk/poker-network/ChangeLog
    trunk/poker-network/pokernetwork/pokertable.py
    trunk/poker-network/tests/test-pokertable.py.in


_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits

Reply via email to