def test_del_dep(self): dept_managment = DepManagment() del_res = dept_managment.del_dept() assert del_res.get("errmsg") == "deleted"
def test_del_dep_by_param(self, id): dept_managment = DepManagment() del_res = dept_managment.del_dept(id) assert del_res.get("errmsg") == "deleted"