MCPcopy
hub / github.com/wechatpy/wechatpy / test_get_followers

Method test_get_followers

tests/test_client.py:254–258  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

252 self.assertEqual('Band', user['nickname'])
253
254 def test_get_followers(self):
255 with HTTMock(wechat_api_mock):
256 result = self.client.user.get_followers()
257 self.assertEqual(2, result['total'])
258 self.assertEqual(2, result['count'])
259
260 def test_iter_followers(self):
261 @urlmatch(netloc=r'(.*\.)?api\.weixin\.qq\.com$', query=r'.*next_openid=[^&]+')

Callers

nothing calls this directly

Calls 1

get_followersMethod · 0.80

Tested by

no test coverage detected