Ejemplo n.º 1
0
 def test_if_works_with_bytes(self, b):
     assert _search_int(b) == 1
Ejemplo n.º 2
0
 def test_ignore_invalid_chars_behind_int(self, s):
     assert _search_int(s) == 1
Ejemplo n.º 3
0
 def test_ignore_whitespace_in_front_of_int(self, s):
     assert _search_int(s) == 1
Ejemplo n.º 4
0
 def test_ignore_whitespace_behind_int(self, s):
     assert _search_int(s) == 1
Ejemplo n.º 5
0
 def test_valid_int(self, s):
     assert _search_int(s) == 1