try sfaadmin reg import
Thierry Parmentelat [Wed, 4 Jul 2012 15:30:34 +0000 (17:30 +0200)]
system/TestPlc.py

index 2550f4b..0813baf 100644 (file)
@@ -1293,7 +1293,7 @@ class TestPlc:
 
     def sfa_dbclean(self):
         "thoroughly wipes off the SFA database"
-        return self.run_in_guest("sfaadmin.py registry nuke")==0 or \
+        return self.run_in_guest("sfaadmin registry nuke")==0 or \
             self.run_in_guest("sfa-nuke.py")==0 or \
             self.run_in_guest("sfa-nuke-plc.py")==0
 
@@ -1441,7 +1441,7 @@ class TestPlc:
         "sfa-import-plc"
         auth=self.plc_spec['sfa']['SFA_REGISTRY_ROOT_AUTH']
         return \
-            self.run_in_guest('sfaadmin.py reg import_registry')==0 
+            self.run_in_guest('sfaadmin reg import')==0 
 # not needed anymore
 #        self.run_in_guest('cp /etc/sfa/authorities/%s/%s.pkey /etc/sfa/authorities/server.key'%(auth,auth))