Write interface methods for =get_role_set= and =get_user_set=
use to_client() for more readability
=institute_exits= function need to be implemented
an =institute= can have both nc and oc. state checks need to be updated
move creation of role to persistent delegates from create oc and create nc operations
remove self in delegate functions
=get object= functions need to be implemented
=get_institute()= functions need to be implemented.
In =create_oc= function remove spokes and oc targets. by default it these
parameters will be null
18/08/2016
save() can be used to save the user, test only one at a time.
write false case in user exists
raise exception in add user
guest role need to be added in add user (if the role is none).
add state check in add user for role also update the data model.
if role not exists then raise role not exists
populate db need to be as a separate module need to be imported
check the imports in system, system with persistence
in populate db variables need to be removed.
one without role need to be tested in add user
add user by noc, User.get_by_id(2)
change create institute to add institute
in auth check write all fail cases
institute_associated_with_oc method need to be implemented in delegate
is session_occ is not requied again
oc centre error descripation should be proper.
add oc should be in try and except raise exception
add occ role and spaces no self and put it in try and exception and its test
cases.
add role should be common for occ_role, ncc_role and role
Attendees : Thirumal Ravula, Madhavi Puliraju, Sripathi Kammari, Khushpreet Kaur.
17/08/2016
18/08/2016