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')
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