MCPcopy
hub / github.com/skywind3000/ECDICT / test4

Function test4

dictutils.py:1036–1041  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1034 return 0
1035
1036 def test4():
1037 db = stardict.open_local('treasure.db')
1038 data = db['breakup']
1039 # html = treasure.define_html(data['translation'])
1040 html = treasure.get_collins(data).encode('gbk', 'ignore')
1041 print html
1042
1043 def test5():
1044 name1 = 'anki-front.txt'

Callers

nothing calls this directly

Calls 2

encodeMethod · 0.80
get_collinsMethod · 0.80

Tested by

no test coverage detected