コード例 #1
0
ファイル: test_rstr.py プロジェクト: MagdaS123/modul10
 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())