Exemplo n.º 1
0
 def testIs7bitString(self):
     bit7Alphabet = unicode(
         'X$(,048<ΨΩ€DΠHΣLΦPbT2\\dhflΘpΛtΞxΓΔ|#\'+/37;?CGKOS"W[_czgk&osw{Éàü!%)-159=AEIMQUY]aeimquy}BFJNRVZ^¤¥§¡£jnrv¿~@\f\r\n',
         'utf-8')
     self.assertEqual(True, bit7alphabet.is7bitString(bit7Alphabet))
     self.assertEqual(
         False, bit7alphabet.is7bitString(unicode('Миха Шестоков',
                                                  'utf-8')))
Exemplo n.º 2
0
 def __checkIs7Bit(self):
     self.__is7Bit = bit7alphabet.is7bitString(self.__message)
Exemplo n.º 3
0
 def testIs7bitString(self):
     bit7Alphabet = unicode('X$(,048<ΨΩ€DΠHΣLΦPbT2\\dhflΘpΛtΞxΓΔ|#\'+/37;?CGKOS"W[_czgk&osw{Éàü!%)-159=AEIMQUY]aeimquy}BFJNRVZ^¤¥§¡£jnrv¿~@\f\r\n', 'utf-8')
     self.assertEqual(True, bit7alphabet.is7bitString(bit7Alphabet))
     self.assertEqual(False, bit7alphabet.is7bitString(unicode('Миха Шестоков', 'utf-8')))
Exemplo n.º 4
0
 def __checkIs7Bit(self):
     self.__is7Bit = bit7alphabet.is7bitString(self.__message)