コード例 #1
0
ファイル: test.py プロジェクト: andreisavu/dbgrep
 def testAnyMatch_singleValue(self):
     self.assertTrue(any_match(['\d+$', 'asd'], '123'))
コード例 #2
0
ファイル: test.py プロジェクト: andreisavu/dbgrep
 def testNoMatch_singleValue(self):
     self.assertFalse(any_match(['\d+$', 'asd'], 'dgjoi'))