예제 #1
0
    def check_not_valid(self, *, term: Term):
        failed = False

        try:
            term.validate()
        except Exception:
            failed = True

        self.assertTrue(failed)
예제 #2
0
 def check_valid(term: Term):
     term.validate()