X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=system%2FTestAuthSfa.py;h=f784796725e6b1cbcf7f480236b0c5f9b8d5380e;hb=900d8dff276a66f782bc0d3b25c8989cc86b544e;hp=d8aa1c90192d1016eb594e429bb562279d2df694;hpb=740ea07d41e95f96442c058ff7f26237835de670;p=tests.git diff --git a/system/TestAuthSfa.py b/system/TestAuthSfa.py index d8aa1c9..f784796 100644 --- a/system/TestAuthSfa.py +++ b/system/TestAuthSfa.py @@ -54,7 +54,7 @@ class TestAuthSfa: # the hrn for the root authority def root_hrn (self): - return self.test_plc.plc_spec['sfa']['SFA_REGISTRY_ROOT_AUTH'] + return self.test_plc.plc_spec['sfa']['settings']['SFA_REGISTRY_ROOT_AUTH'] # the hrn for the auth/site def auth_hrn (self): @@ -100,10 +100,10 @@ class TestAuthSfa: SFI_USER=self.obj_hrn(self.auth_sfa_spec['pi_spec']['name']) fileconf.write ("SFI_USER='%s'"%SFI_USER) fileconf.write('\n') - SFI_REGISTRY='http://' + sfa_spec['SFA_REGISTRY_HOST'] + ':12345/' + SFI_REGISTRY='http://' + sfa_spec['settings']['SFA_REGISTRY_HOST'] + ':12345/' fileconf.write ("SFI_REGISTRY='%s'"%SFI_REGISTRY) fileconf.write('\n') - SFI_SM='http://' + sfa_spec['SFA_SM_HOST'] + ':12347/' + SFI_SM='http://' + sfa_spec['settings']['SFA_SM_HOST'] + ':12347/' fileconf.write ("SFI_SM='%s'"%SFI_SM) fileconf.write('\n') fileconf.close()