MCPcopy
hub / github.com/wechatpy/wechatpy / test_chat_get

Method test_chat_get

tests/test_enterprise_client.py:312–317  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

310 self.assertEqual(0, res['errcode'])
311
312 def test_chat_get(self):
313 with HTTMock(wechat_api_mock):
314 chat = self.client.chat.get('235364212115767297')
315
316 self.assertEqual('235364212115767297', chat['chatid'])
317 self.assertEqual('zhangsan', chat['owner'])
318
319 def test_chat_update(self):
320 with HTTMock(wechat_api_mock):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected