THP: Add Win2day support

This commit is contained in:
Worros 2010-11-11 18:31:10 +08:00
parent adf380f22b
commit ee65248ff1

View File

@ -147,6 +147,7 @@ def main(argv=None):
CarbonErrors = FpdbError('Carbon') CarbonErrors = FpdbError('Carbon')
PKRErrors = FpdbError('PKR') PKRErrors = FpdbError('PKR')
iPokerErrors = FpdbError('iPoker') iPokerErrors = FpdbError('iPoker')
Win2dayErrors = FpdbError('Win2day')
WinamaxErrors = FpdbError('Winamax') WinamaxErrors = FpdbError('Winamax')
ErrorsList = [ ErrorsList = [
@ -154,6 +155,7 @@ def main(argv=None):
BetfairErrors, OnGameErrors, AbsoluteErrors, BetfairErrors, OnGameErrors, AbsoluteErrors,
EverleafErrors, CarbonErrors, PKRErrors, EverleafErrors, CarbonErrors, PKRErrors,
iPokerErrors, WinamaxErrors, UltimateBetErrors, iPokerErrors, WinamaxErrors, UltimateBetErrors,
Win2dayErrors,
] ]
sites = { sites = {
@ -168,6 +170,7 @@ def main(argv=None):
'Carbon' : True, 'Carbon' : True,
'PKR' : False, 'PKR' : False,
'iPoker' : True, 'iPoker' : True,
'Win2day' : True,
'Winamax' : True, 'Winamax' : True,
} }
@ -198,6 +201,8 @@ def main(argv=None):
walk_testfiles("regression-test-files/cash/iPoker/", compare, importer, iPokerErrors, "iPoker") walk_testfiles("regression-test-files/cash/iPoker/", compare, importer, iPokerErrors, "iPoker")
if sites['Winamax'] == True: if sites['Winamax'] == True:
walk_testfiles("regression-test-files/cash/Winamax/", compare, importer, WinamaxErrors, "Winamax") 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 totalerrors = 0