(self)
| 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): |