예제 #1
0
 def test_alphabet_at_instantiation(self):
     rs = Rstr(vowels='AEIOU')
     assert re.match('^[AEIOU]{1,10}$', rs.vowels())
예제 #2
0
파일: test_rstr.py 프로젝트: sakti/dummygen
 def test_alphabet_at_instantiation(self):
     rs = Rstr(vowels='AEIOU')
     assert re.match('^[AEIOU]{1,10}$', rs.vowels())
예제 #3
0
 def test_alphabet_at_instantiation(self) -> None:
     rs = Rstr(vowels='AEIOU')
     assert_matches('^[AEIOU]{1,10}$', rs.vowels())