Exemplo n.º 1
0
 def test_09(self):
     self.assertEqual(Client.preparing_length_of_message('12345678901234567890123456789012345678901234567890123456789'
                                                         '01234567890123456789012345678901234567890123456789012345678'
                                                         '9012345678901234567890123456789012345678901234567890123456789'
                                                         '012345678901234567890123456789012345678901234567890123456789'
                                                         '012345678901234567890123456789012345678901234567890123456789'
                                                         '01234567890123456789012345678901234567890123456789012345678'
                                                         '90123456789012345678901234567890123456789012345678901234567'
                                                         '89012345678901234567890123456789012345678901234567890123456'
                                                         '78901234567890123456789012345678901234567890123456789012345'
                                                         '67890123456789012345678901234567890123456789012345678901234'
                                                         '56789012345678901234567890123456789012345678901234567890123'
                                                         '45678901234567890123456789012345678901234567890123456789012'
                                                         '34567890123456789012345678901234567890123456789012345678901'
                                                         '23456789012345678901234567890123456789012345678901234567890'
                                                         '12345678901234567890123456789012345678901234567890123456789'
                                                         '01234567890123456789012345678901234567890123456789012345678'
                                                         '901234567890123456789012345678901234567890123456'
                                                         '7890'), '1000', 'error in comparing of lengths')
Exemplo n.º 2
0
 def test_07(self):
     self.assertEqual(Client.preparing_length_of_message('asdsdfsafeaa'), '0012', 'error in comparing of lengths')
Exemplo n.º 3
0
 def test_07(self):
     self.assertEqual(Client.preparing_length_of_message('asdsdfsafeasdsdfsafeasdsd'
                                                         'fsafeasdsdfsafeasdsdfsafeasd'
                                                         'sdfsafeasdsdfsafeasdsdf'
                                                         'safeasdsdfsafeasdsdfsafe'), '0100', 'error in comparing of lengths')
Exemplo n.º 4
0
 def test_06(self):
     self.assertEqual(Client.preparing_length_of_message('asd'), '0003', 'error in comparing of lengths')