Пример #1
0
 def condition(self, execution, text, exact_strings):
     """ Tests if the regex does not match the text """
     return errors(execution) or not equality_test(
         self.get_output(execution),
         text.value,
         _exact_strings=exact_strings,
         _delta=None)
Пример #2
0
 def condition(self, left, right, exact_strings, delta):
     """ Tests if the left and right are not equal """
     return equality_test(left.value, right.value, exact_strings, delta)