kindle manager
This commit is contained in:
@@ -31,6 +31,7 @@ class TestKman(unittest.TestCase):
|
||||
DELIMITER= '|'
|
||||
|
||||
self.km = kMan()
|
||||
self.util = util()
|
||||
|
||||
global t_bm_sec
|
||||
global t_hl_sec
|
||||
@@ -232,6 +233,9 @@ class TestKman(unittest.TestCase):
|
||||
logger.debug(json.dumps(bookinfo, indent=2, ensure_ascii=False))
|
||||
logger.debug('========== 5 ==========\n')
|
||||
logger.debug(json.dumps(lookups, indent=2, ensure_ascii=False))
|
||||
logger.debug('========== 6 ==========\n')
|
||||
logger.debug(json.dumps(words, indent=2, ensure_ascii=False))
|
||||
|
||||
# test filter_words()
|
||||
logger.debug('========== 7 ==========\n')
|
||||
self.km.filter_words(lookups, '中国历史风云录 (陈舜臣作品)', tp=0)
|
||||
|
||||
Reference in New Issue
Block a user