def test_equal_6(self):
     self.assertEqual(
         string_clean('Ad2dsad3ds21 A  1$$s122ad! A2A3Ae24 f44K5L@222222 '),
         'Addsadds A  $$sad! AAAe fKL@ ')
 def test_equal_4(self):
     self.assertEqual(string_clean('A1 A1! AAA   3J4K5L@!!!'),
                      'A A! AAA   JKL@!!!')
 def test_equal_5(self):
     self.assertEqual(
         string_clean('Adgre2321 A1sad! A2A3A4 fv3fdv3J544K5L@'),
         'Adgre Asad! AAA fvfdvJKL@')
Ejemplo n.º 4
0
 def test_equal_3(self):
     self.assertEqual(string_clean('Dsa32 cdsc34232 csa!!! 1I 4Am cool!'),
                      'Dsa cdsc csa!!! I Am cool!')
 def test_equal_3(self):
     self.assertEqual(string_clean('Dsa32 cdsc34232 csa!!! 1I 4Am cool!'),
                      'Dsa cdsc csa!!! I Am cool!')
 def test_equal_9(self):
     self.assertEqual(string_clean('! !'), '! !')
 def test_equal_11(self):
     self.assertEqual(string_clean('(E3at m2e2!!)'), '(Eat me!!)')
Ejemplo n.º 8
0
 def test_equal_9(self):
     self.assertEqual(string_clean('! !'), '! !')
Ejemplo n.º 9
0
 def test_equal_10(self):
     self.assertEqual(string_clean('123456789'), '')
Ejemplo n.º 10
0
 def test_equal_7(self):
     self.assertEqual(string_clean(
         '33333Ad2dsad3ds21 A3333  1$$s122a!d! A2!A!3Ae$24 f2##222 '
     ), 'Addsadds A  $$sa!d! A!A!Ae$ f## ')
Ejemplo n.º 11
0
 def test_equal_8(self):
     self.assertEqual(string_clean(''), '')
Ejemplo n.º 12
0
 def test_equal_6(self):
     self.assertEqual(string_clean(
         'Ad2dsad3ds21 A  1$$s122ad! A2A3Ae24 f44K5L@222222 '
     ), 'Addsadds A  $$sad! AAAe fKL@ ')
Ejemplo n.º 13
0
 def test_equal_5(self):
     self.assertEqual(string_clean(
         'Adgre2321 A1sad! A2A3A4 fv3fdv3J544K5L@'
     ), 'Adgre Asad! AAA fvfdvJKL@')
Ejemplo n.º 14
0
 def test_equal_4(self):
     self.assertEqual(string_clean('A1 A1! AAA   3J4K5L@!!!'),
                      'A A! AAA   JKL@!!!')
 def test_equal_7(self):
     self.assertEqual(
         string_clean(
             '33333Ad2dsad3ds21 A3333  1$$s122a!d! A2!A!3Ae$24 f2##222 '),
         'Addsadds A  $$sa!d! A!A!Ae$ f## ')
Ejemplo n.º 16
0
 def test_equal_11(self):
     self.assertEqual(string_clean('(E3at m2e2!!)'), '(Eat me!!)')
 def test_equal_8(self):
     self.assertEqual(string_clean(''), '')
Ejemplo n.º 18
0
 def test_equal_1(self):
     self.assertEqual(string_clean(
         'My "me3ssy" d8ata issues2! Will1 th4ey ever, e3ver be3 so0lved?'
     ), 'My "messy" data issues! Will they ever, ever be solved?')
 def test_equal_10(self):
     self.assertEqual(string_clean('123456789'), '')
 def test_equal_2(self):
     self.assertEqual(
         string_clean(
             "Wh7y can't we3 bu1y the goo0d software3? #cheapskates3"),
         "Why can't we buy the good software? #cheapskates")
 def test_equal_1(self):
     self.assertEqual(
         string_clean(
             'My "me3ssy" d8ata issues2! Will1 th4ey ever, e3ver be3 so0lved?'
         ), 'My "messy" data issues! Will they ever, ever be solved?')
Ejemplo n.º 22
0
 def test_equal_2(self):
     self.assertEqual(string_clean(
         "Wh7y can't we3 bu1y the goo0d software3? #cheapskates3"
     ), "Why can't we buy the good software? #cheapskates")