MCPcopy
hub / github.com/wechatpy/wechatpy / test_chat_update

Method test_chat_update

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

Source from the content-addressed store, hash-verified

317 self.assertEqual('zhangsan', chat['owner'])
318
319 def test_chat_update(self):
320 with HTTMock(wechat_api_mock):
321 res = self.client.chat.update(
322 '235364212115767297',
323 'lisi',
324 '企业应用中心',
325 'zhangsan',
326 ['zhaoli'],
327 ['zhangsan']
328 )
329
330 self.assertEqual(0, res['errcode'])
331
332 def test_chat_quit(self):
333 with HTTMock(wechat_api_mock):

Callers

nothing calls this directly

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected