예제 #1
0
 def test_umlaut(self):
     with pytest.raises(ConversionError):
         check_id('withföreignlëtters')
예제 #2
0
 def test_almost_b62(self):
     with pytest.raises(ConversionError):
         check_id('almost-base62')
예제 #3
0
 def test_empty(self):
     with pytest.raises(ConversionError):
         check_id('')
예제 #4
0
 def test_punctuation(self):
     with pytest.raises(ConversionError):
         check_id('.')
예제 #5
0
 def test_valid(self):
     check_id('Base62string')