def must_not_verify(self, func: Union[str, Callable], **vars): if self.verify(func, **vars): raise errors.VerifyFailed(self)
def must_verify(self, func: Union[str, Callable], **vars): if not self.verify(func, **vars): self.debug_fields() raise errors.VerifyFailed(self)