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