test_memlist_mem.py 569 Bytes
# Author: liuyang 2017年11月7日16:43:08

from atdd.PcPost import PcPost


class ReadMemList(PcPost):
    def setUp(self):
        self.do_login(self.host, self.mobile, self.psw, self.domain)

    def test_memlist(self):
        url = "/contact/Apicp/User/DepartmentMember"
        data = {
        }
        result = self.PcPost(url, data)
        print(self.host + '/' + self.domain + url)
        self.assertEqual("ok", result["errmsg"], msg=result["errmsg"])  # 怎样断言返回结果中的limit(动态)数据?
        print(result)
        return result