def test_e_DIYSearch(self): self.assertIsNone(Library.DIYSearch(".*", "aaa")) self.assertIsNone(Library.DIYSearch("\d.*", "ccc"))
def test_n_DIYSearch(self): self.assertTrue(Library.DIYSearch("(.*)", "aaa"))
def test_e_DIYSearch(self): self.assertIsNone(Library.DIYSearch(".*", "aaa")) self.assertIsNone(Library.DIYSearch("\d.*", "ccc"))
def test_n_DIYSearch(self): self.assertTrue(Library.DIYSearch("(.*)", "aaa"))