Пример #1
0
 def test_true(self):
     matcher = self._Matcher(True)
     matcher = search._NotMetaMatcher(matcher)
     assert not matcher.match('foo')
Пример #2
0
 def test_false(self):
     matcher = self._Matcher(False)
     matcher = search._NotMetaMatcher(matcher)
     self.assertTrue(matcher.match('foo'))
Пример #3
0
 def test_true(self):
     matcher = self._Matcher(True)
     matcher = search._NotMetaMatcher(matcher)
     assert not matcher.match('foo')