Example #1
0
 def test_normalize_strict(self):
     self.assertRaises(ValueError, b32.normalize, 'ix-Lb-Ko', strict=True)
     self.assertEqual(b32.normalize('1X1BK0', strict=True), '1X1BK0')
Example #2
0
 def test_normalize(self):
     self.assertEqual(b32.normalize('ix-Lb-Ko'), '1X1BK0')