예제 #1
0
def mm():
    mapManager.unitTest()
예제 #2
0
파일: tmp.py 프로젝트: rrlittle/WTP_SE
from db2es import db2es, mapManager

mapManager.unitTest()
db2es.unitTest()

print('\n\nunit tests for db2esController')
c = db2es.Controller()#esHosts=['6e3beff9.ngrok.com'])
outpath = c.calculate_bulk_upload_for_all_tables(mode='w')
if outpath:
    c.upload_bulk_file(bulkFilePath = outpath, refresh=True)