MCPcopy
hub / github.com/wechatpy/wechatpy / test_create_group

Method test_create_group

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

Source from the content-addressed store, hash-verified

83 self.assertEqual(102, group_id)
84
85 def test_create_group(self):
86 with HTTMock(wechat_api_mock):
87 group = self.client.group.create('test')
88 self.assertEqual(1, group['group']['id'])
89 self.assertEqual('test', group['group']['name'])
90
91 def test_group_get(self):
92 with HTTMock(wechat_api_mock):

Callers

nothing calls this directly

Calls 1

createMethod · 0.45

Tested by

no test coverage detected