Exemplo n.º 1
0
 def test_finds_regex(self):
     assert_that("....ACAB....", matches_re("[AB][BC][AB][BC]"))
Exemplo n.º 2
0
 def test_finds_text(self):
     assert_that("...test....", matches_re("test"))
Exemplo n.º 3
0
 def test_matches_regex(self):
     assert_that("ACAB", matches_re("[AB][BC][AB][BC]"))
Exemplo n.º 4
0
 def test_matches_text(self):
     assert_that("test", matches_re("test"))