MCPcopy
hub / github.com/wechatpy/wechatpy / test_department_get

Method test_department_get

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

Source from the content-addressed store, hash-verified

72 self.assertEqual(0, res['errcode'])
73
74 def test_department_get(self):
75 with HTTMock(wechat_api_mock):
76 res = self.client.department.get()
77 self.assertEqual(2, len(res))
78
79 def test_department_get_users(self):
80 with HTTMock(wechat_api_mock):

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected