1 # Thierry Parmentelat <thierry.parmentelat@inria.fr>
2 # Copyright (C) 2010 INRIA
11 def __init__ (self,test_plc,plc_spec_sfa):
12 self.test_plc=test_plc
13 self.spec_sfa=plc_spec_sfa
16 return self.user_spec['user_fields']['email']
20 self.test_plc.run_in_guest("sfi.py -d /root/.sfi/ add person.xml")==0
22 def update_user (self):
24 self.test_plc.run_in_guest("sfi.py -d /root/.sfi/ update person.xml")==0
26 def delete_user(self):
27 auth=self.spec_sfa['SFA_REGISTRY_ROOT_AUTH']
29 self.test_plc.run_in_guest("sfi.py -d /root/.sfi/ remove -t user %s.main.sfafakeuser1"%auth)==0