test_delete_org.py
540 Bytes
# Author: jipeihong 2017年11月7日14:52:52
from atdd.PcPost import PcPost
class DeleteOrg(PcPost):
interfaceUrl = "/contact/Apicp/Department/Delete"
def setUp(self):
self.do_login(self.host, self.mobile, self.psw, self.domain)
# 查找除了顶级部门之外的所有部门的dpId
def get_all_dpId(self):
url = "/Contact/Apicp/Department/ListChildren"
data = {
"dpParentId":
}
def test_delete_org(self):
# data = {
# "department_id":
# }