def _configure(self): PetscApplication._configure(self) self.foo = self.inventory.foo return
def onComputeNodes(self, *args, **kwds): PetscApplication.onComputeNodes(self, args, kwds) assert(-1 == self.foo.value) assert("_cleanup" == self.label) return
def __init__(self): PetscApplication.__init__(self, name="testapp") return
def test_constructor(self): app = PetscApplication()
def onComputeNodes(self, *args, **kwds): PetscApplication.onComputeNodes(self, args, kwds) assert(-1 == self.foo.value) assert("_cleanup" == self.label) return
def __init__(self): PetscApplication.__init__(self, name="testapp") return
def _configure(self): PetscApplication._configure(self) self.foo = self.inventory.foo return