TSI: Add FTP support

This commit is contained in:
Worros 2010-11-15 14:24:31 +08:00
parent 9c2c18f5ca
commit d69c9dc33f

View File

@ -128,7 +128,7 @@ def main(argv=None):
importer = SummaryImporter(config, sql, None) importer = SummaryImporter(config, sql, None)
PokerStarsErrors = FpdbError('PokerStars') PokerStarsErrors = FpdbError('PokerStars')
#FTPErrors = FpdbError('Full Tilt Poker') FTPErrors = FpdbError('Full Tilt Poker')
#PartyPokerErrors = FpdbError('Party Poker') #PartyPokerErrors = FpdbError('Party Poker')
#BetfairErrors = FpdbError('Betfair') #BetfairErrors = FpdbError('Betfair')
#OnGameErrors = FpdbError('OnGame') #OnGameErrors = FpdbError('OnGame')
@ -142,7 +142,7 @@ def main(argv=None):
ErrorsList = [ ErrorsList = [
PokerStarsErrors, PokerStarsErrors,
#FTPErrors, PartyPokerErrors, FTPErrors, #PartyPokerErrors,
#BetfairErrors, OnGameErrors, AbsoluteErrors, #BetfairErrors, OnGameErrors, AbsoluteErrors,
#EverleafErrors, CarbonErrors, PKRErrors, #EverleafErrors, CarbonErrors, PKRErrors,
#iPokerErrors, WinamaxErrors, UltimateBetErrors, #iPokerErrors, WinamaxErrors, UltimateBetErrors,
@ -150,7 +150,7 @@ def main(argv=None):
sites = { sites = {
'PokerStars' : True, 'PokerStars' : True,
#'Full Tilt Poker' : True, 'Full Tilt Poker' : True,
#'PartyPoker' : True, #'PartyPoker' : True,
#'Betfair' : True, #'Betfair' : True,
#'OnGame' : True, #'OnGame' : True,
@ -165,8 +165,8 @@ def main(argv=None):
if sites['PokerStars'] == True: if sites['PokerStars'] == True:
walk_testfiles("regression-test-files/summaries/Stars/", compare, importer, PokerStarsErrors, "PokerStars") walk_testfiles("regression-test-files/summaries/Stars/", compare, importer, PokerStarsErrors, "PokerStars")
#if sites['Full Tilt Poker'] == True: if sites['Full Tilt Poker'] == True:
# walk_testfiles("regression-test-files/cash/FTP/", compare, importer, FTPErrors, "Full Tilt Poker") walk_testfiles("regression-test-files/summaries/FTP/", compare, importer, FTPErrors, "Full Tilt Poker")
# walk_testfiles("regression-test-files/tour/FTP/", compare, importer, FTPErrors, "Full Tilt Poker") # walk_testfiles("regression-test-files/tour/FTP/", compare, importer, FTPErrors, "Full Tilt Poker")
#if sites['PartyPoker'] == True: #if sites['PartyPoker'] == True:
# walk_testfiles("regression-test-files/cash/PartyPoker/", compare, importer, PartyPokerErrors, "PartyPoker") # walk_testfiles("regression-test-files/cash/PartyPoker/", compare, importer, PartyPokerErrors, "PartyPoker")