test_PokerStars: Add 2-7 Lowball test

This commit is contained in:
Worros 2009-11-29 15:28:32 +08:00
parent 9071640182
commit 39f27bc781

View File

@ -95,16 +95,16 @@ def testStudImport():
(stored, dups, partial, errs, ttime) = importer.runImport()
importer.clearFileList()
#def testDrawImport():
# db.recreate_tables()
# importer = fpdb_import.Importer(False, settings, config)
# importer.setDropIndexes("don't drop")
# importer.setFailOnError(True)
# importer.setThreads(-1)
# importer.addBulkImportImportFileOrDir(
# """regression-test-files/cash/Stars/Draw/3-Draw-Limit-USD-0.10-0.20-200911.txt""", site="PokerStars")
def testDrawImport():
db.recreate_tables()
importer = fpdb_import.Importer(False, settings, config)
importer.setDropIndexes("don't drop")
importer.setFailOnError(True)
importer.setThreads(-1)
importer.addBulkImportImportFileOrDir(
"""regression-test-files/cash/Stars/Draw/3-Draw-Limit-USD-0.10-0.20-200911.txt""", site="PokerStars")
# importer.addBulkImportImportFileOrDir(
# """regression-test-files/cash/Stars/Draw/5-Carddraw-USD-0.10-0.20-200911.txt""", site="PokerStars")
# importer.setCallHud(False)
# (stored, dups, partial, errs, ttime) = importer.runImport()
# importer.clearFileList()
importer.setCallHud(False)
(stored, dups, partial, errs, ttime) = importer.runImport()
importer.clearFileList()