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