From ee65248ff1c23d1561a600e9ec17ca23683b71a1 Mon Sep 17 00:00:00 2001 From: Worros Date: Thu, 11 Nov 2010 18:31:10 +0800 Subject: [PATCH] THP: Add Win2day support --- pyfpdb/TestHandsPlayers.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pyfpdb/TestHandsPlayers.py b/pyfpdb/TestHandsPlayers.py index 53a2dbd4..ee3be1e9 100755 --- a/pyfpdb/TestHandsPlayers.py +++ b/pyfpdb/TestHandsPlayers.py @@ -147,6 +147,7 @@ def main(argv=None): CarbonErrors = FpdbError('Carbon') PKRErrors = FpdbError('PKR') iPokerErrors = FpdbError('iPoker') + Win2dayErrors = FpdbError('Win2day') WinamaxErrors = FpdbError('Winamax') ErrorsList = [ @@ -154,6 +155,7 @@ def main(argv=None): BetfairErrors, OnGameErrors, AbsoluteErrors, EverleafErrors, CarbonErrors, PKRErrors, iPokerErrors, WinamaxErrors, UltimateBetErrors, + Win2dayErrors, ] sites = { @@ -168,6 +170,7 @@ def main(argv=None): 'Carbon' : True, 'PKR' : False, 'iPoker' : True, + 'Win2day' : True, 'Winamax' : True, } @@ -198,6 +201,8 @@ def main(argv=None): walk_testfiles("regression-test-files/cash/iPoker/", compare, importer, iPokerErrors, "iPoker") if sites['Winamax'] == True: walk_testfiles("regression-test-files/cash/Winamax/", compare, importer, WinamaxErrors, "Winamax") + if sites['Win2day'] == True: + walk_testfiles("regression-test-files/cash/Win2day/", compare, importer, Win2dayErrors, "Win2day") totalerrors = 0