def getAdapter(self, cell): raiseIfNone(cell, "missingMethodNameCell") methodName = self.camel(cell.text()) raiseIf(methodName == "", "missingMethodName") raiseIfNone(self.actor, "missingActor") try: adapter = TypeAdapter(self.actor, methodName) except Exception, ex: self.exception(cell, ex) raise FitException("IgnoreException")
def start_(self): methodNameCell = self.cells.more raiseIfNone(methodNameCell, "missingActorNameCell") path = methodNameCell.text() raiseIf(path == "", "ActionStart") # ??? must be a fixture. Why? try: theClass = self.loadFixture(path) ActionFixture.actor = theClass() except Exception, e: self.exception(methodNameCell, e)