We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54ebdc7 commit dc562b8Copy full SHA for dc562b8
tests/test_reqlimit.py
@@ -1,6 +1,8 @@
1
import json
2
import os
3
from html2notion.translate.html2json_yinxiang import Html2JsonYinXiang
4
+from html2notion.translate.import_stats import ImportStats
5
+
6
7
paragram_rich_content = f'<div>{"Some words" * 400} more words</div>'
8
block_max_conent = "Some words" * 200
@@ -49,7 +51,8 @@ def test_reqlimit():
49
51
50
52
for html_content in html_jsons:
53
body_content = '<body>' + html_content + '</body>'
- yinxiang = Html2JsonYinXiang(body_content)
54
+ import_stats = ImportStats()
55
+ yinxiang = Html2JsonYinXiang(body_content, import_stats)
56
yinxiang.process()
57
json_obj = yinxiang.children
58
# print(json.dumps(json_obj, indent=4))
0 commit comments