THP: Add Absolute to list of files tested

This commit is contained in:
Worros 2010-11-07 20:00:34 +08:00
parent 8a797bd0e6
commit ed6d21dbbf

View File

@ -142,6 +142,7 @@ def main(argv=None):
BetfairErrors = FpdbError('Betfair') BetfairErrors = FpdbError('Betfair')
OnGameErrors = FpdbError('OnGame') OnGameErrors = FpdbError('OnGame')
AbsoluteErrors = FpdbError('Absolute Poker') AbsoluteErrors = FpdbError('Absolute Poker')
UltimateBetErrors = FpdbError('Ultimate Bet')
EverleafErrors = FpdbError('Everleaf Poker') EverleafErrors = FpdbError('Everleaf Poker')
CarbonErrors = FpdbError('Carbon') CarbonErrors = FpdbError('Carbon')
PKRErrors = FpdbError('PKR') PKRErrors = FpdbError('PKR')
@ -152,7 +153,7 @@ def main(argv=None):
PokerStarsErrors, FTPErrors, PartyPokerErrors, PokerStarsErrors, FTPErrors, PartyPokerErrors,
BetfairErrors, OnGameErrors, AbsoluteErrors, BetfairErrors, OnGameErrors, AbsoluteErrors,
EverleafErrors, CarbonErrors, PKRErrors, EverleafErrors, CarbonErrors, PKRErrors,
iPokerErrors, WinamaxErrors iPokerErrors, WinamaxErrors, UltimateBetErrors,
] ]
sites = { sites = {
@ -162,6 +163,7 @@ def main(argv=None):
'Betfair' : True, 'Betfair' : True,
'OnGame' : True, 'OnGame' : True,
'Absolute' : True, 'Absolute' : True,
'UltimateBet' : True,
'Everleaf' : True, 'Everleaf' : True,
'Carbon' : True, 'Carbon' : True,
'PKR' : False, 'PKR' : False,
@ -184,6 +186,8 @@ def main(argv=None):
walk_testfiles("regression-test-files/cash/OnGame/", compare, importer, OnGameErrors, "OnGame") walk_testfiles("regression-test-files/cash/OnGame/", compare, importer, OnGameErrors, "OnGame")
if sites['Absolute'] == True: if sites['Absolute'] == True:
walk_testfiles("regression-test-files/cash/Absolute/", compare, importer, AbsoluteErrors, "Absolute") walk_testfiles("regression-test-files/cash/Absolute/", compare, importer, AbsoluteErrors, "Absolute")
if sites['UltimateBet'] == True:
walk_testfiles("regression-test-files/cash/UltimateBet/", compare, importer, UltimateBetErrors, "Absolute")
if sites['Everleaf'] == True: if sites['Everleaf'] == True:
walk_testfiles("regression-test-files/cash/Everleaf/", compare, importer, EverleafErrors, "Everleaf") walk_testfiles("regression-test-files/cash/Everleaf/", compare, importer, EverleafErrors, "Everleaf")
if sites['Carbon'] == True: if sites['Carbon'] == True: