コード例 #1
0
    def __call__(self):
        self.katelloTasks = injector.getInstance(Key.get(KatelloTasks, PlainSSLContext))
        self.katelloTasksWithCert = injector.getInstance(Key.get(KatelloTasks, CertSSLContext))
        test1.record(self.katelloTasks.getOrganization)
        test2.record(self.katelloTasks.registerSystemWithActivationKey)
        test5.record(self.katelloTasks.deleteConsumer)
        test6.record(self.katelloTasks)
        test7.record(self.katelloTasksWithCert)

        # Get the party started
        self.registerSystem()
コード例 #2
0
 def __call__(self):        
     self.katelloTasks = injector.getInstance(Key.get(KatelloTasks,PlainSSLContext))
     self.katelloTasksWithCert = injector.getInstance(Key.get(KatelloTasks,CertSSLContext))
     test1.record(self.katelloTasks.getOrganization)
     test2.record(self.katelloTasks.createConsumer)
     test3.record(self.katelloTasksWithCert.updatePackages)
     test4.record(self.katelloTasksWithCert.subscribeConsumerWithProduct)
     test5.record(self.katelloTasks.deleteConsumer)
     test6.record(self.katelloTasks)
     test7.record(self.katelloTasksWithCert)
     
     # Get the party started
     self.registerSystem()