def test_017_backstage_tenant_administrator_edit(self): """ Time :2019-07-16 author : 闫红 desc : 编辑机构管理员,被锁定 """ tenant_adm_id = pq.get_tenant_adm_id(business_name='系统',tenant_name='机构',adm_name='机构管理员') rs = PmsAction.test_backstage_tenant_administrator_edit(name='编辑'+administrator_name, email=email, phone=phone,id= tenant_adm_id) Assertion.verityNot(json.loads(rs)['code'], 10000) Assertion.verityContain(json.loads(rs)['msg'], '锁定')