mirror of
https://kkgithub.com/chinese-poetry/chinese-poetry.git
synced 2026-04-17 01:33:41 +00:00
test: support yuanqu
This commit is contained in:
@@ -15,6 +15,7 @@ def check_json(f, _dir):
|
|||||||
with open(filepath) as file:
|
with open(filepath) as file:
|
||||||
try:
|
try:
|
||||||
_ = json.loads(file.read())
|
_ = json.loads(file.read())
|
||||||
|
print(u"%s 校验成功" % _dir)
|
||||||
return True
|
return True
|
||||||
except:
|
except:
|
||||||
sys.stderr.write(traceback.format_exc())
|
sys.stderr.write(traceback.format_exc())
|
||||||
@@ -41,3 +42,5 @@ test_nantang2 = functools.partial(__check_path__, u'./wudai/nantang/')
|
|||||||
test_youmengying = functools.partial(__check_path__, u'./youmengying/')
|
test_youmengying = functools.partial(__check_path__, u'./youmengying/')
|
||||||
|
|
||||||
test_sishuwujing = functools.partial(__check_path__, u'./sishuwujing/')
|
test_sishuwujing = functools.partial(__check_path__, u'./sishuwujing/')
|
||||||
|
|
||||||
|
test_yuanqu = functools.partial(__check_path__, u'./yuanqu/')
|
||||||
|
|||||||
Reference in New Issue
Block a user