refactor: correct test name

This commit is contained in:
NateScarlet 2019-07-16 23:21:23 +08:00
parent 96872fb916
commit 82ce1c9d27
No known key found for this signature in database
GPG Key ID: 5C242793B070309C

View File

@ -14,7 +14,7 @@ def test_get_paper_urls():
]
def test_get_patch_rules():
def test_get_rules():
assert(list(get_rules(get_paper('http://www.gov.cn/zhengce/content/2019-03/22/content_5375877.htm')))
== [('劳动节', '2019年5月1日至4日放假调休共4天。4月28日星期日、5月5日星期日上班。')])