Author: bkuhn
Date: Sun Jun 21 20:15:57 2009
New Revision: 5891
URL: http://svn.gna.org/viewcvs/pokersource?rev=5891&view=rev
Log:
Properly implemented min_players feature for PokerService.listTables() and
corrected/augmented corresponding test. This work is towards sr#2364.
I realized that user2table shouldn't be used for finding minimum players,
but rather the players field in pokertables, since that is updated by the
underlying module, and saves an unnecessary join in the SQL statement and
more difficult building of the SQL string. That required numerous changes
to the SQL statements in the test. There were also some problems with the
test, mostly related to what happens when players is 0.
A few other tests also needed an extra \t field added, now that an
additional one is properly supported.
Modified:
branches/table-picker/poker-network/ChangeLog
branches/table-picker/poker-network/pokernetwork/pokerservice.py
branches/table-picker/poker-network/tests/test-pokerservice.py.in
_______________________________________________
Pokersource-commits mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-commits