예제 #1
0
 def test_create_new_dep(self):
     dept_managment = DepManagment()
     dept_managment.create_dept()
     create_res = dept_managment.get_response()
     assert create_res.get("errmsg") == "created"
예제 #2
0
 def test_create_new_dep_by_param(self,name):
     dept_managment = DepManagment()
     dept_managment.create_dept(name)
     create_res = dept_managment.get_response()
     assert create_res.get("errmsg") =="created"