Skip to content

Commit

Permalink
Change/refactor unlock captcha (#112)
Browse files Browse the repository at this point in the history
* refactor unlock captcha and fix docs

* fix ** synax in py2

* remove docs pr code
  • Loading branch information
chyroc authored Jul 29, 2017
1 parent 5d48f70 commit 14df7e0
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 172 deletions.
File renamed without changes.
4 changes: 2 additions & 2 deletions test/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ def test_search_gzh_real(self):

def test_get_gzh_artilce_by_history_real(self):
gzh_artilce = ws_api.get_gzh_artilce_by_history(gaokao_keyword,
identify_image_callback_search=identify_image_callback_ruokuai_search,
identify_image_callback_history=identify_image_callback_ruokuai_history)
identify_image_callback_sogou=identify_image_callback_ruokuai_search,
identify_image_callback_weixin=identify_image_callback_ruokuai_history)
assert_in('gzh', gzh_artilce)
assert_in('article', gzh_artilce)
assert_in('wx.qlogo.cn', gzh_artilce['gzh']['headimage'])
Expand Down
Loading

0 comments on commit 14df7e0

Please sign in to comment.