bugfix
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 11 Dec 2012 15:58:10 +0000 (16:58 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 11 Dec 2012 15:58:10 +0000 (16:58 +0100)
system/TestPlc.py

index cc2b0e7..2e9d009 100644 (file)
@@ -724,7 +724,7 @@ class TestPlc:
     def delete_all_sites (self):
         "Delete all sites in PLC, and related objects"
         print 'auth_root',self.auth_root()
-        sites = self.apiserver.GetSites(self.auth_root(), {}, ['site_id'])
+        sites = self.apiserver.GetSites(self.auth_root(), {}, ['site_id','login_base'])
         for site in sites:
             # keep automatic site - otherwise we shoot in our own foot, root_auth is not valid anymore
             if site['login_base']==self.plc_spec['PLC_SLICE_PREFIX']: continue