def getScript(self, test_args=None): """Return a ProcessAccepted instance.""" if test_args is None: test_args = [] test_args.append(self.distro.name) script = ProcessAccepted("process accepted", test_args=test_args) script.logger = BufferLogger() script.txn = self.layer.txn return script