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@')
Пример #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!!)')
Пример #8
0
 def test_equal_9(self):
     self.assertEqual(string_clean('! !'), '! !')
Пример #9
0
 def test_equal_10(self):
     self.assertEqual(string_clean('123456789'), '')
Пример #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## ')
Пример #11
0
 def test_equal_8(self):
     self.assertEqual(string_clean(''), '')
Пример #12
0
 def test_equal_6(self):
     self.assertEqual(string_clean(
         'Ad2dsad3ds21 A  1$$s122ad! A2A3Ae24 f44K5L@222222 '
     ), 'Addsadds A  $$sad! AAAe fKL@ ')
Пример #13
0
 def test_equal_5(self):
     self.assertEqual(string_clean(
         'Adgre2321 A1sad! A2A3A4 fv3fdv3J544K5L@'
     ), 'Adgre Asad! AAA fvfdvJKL@')
Пример #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## ')
Пример #16
0
 def test_equal_11(self):
     self.assertEqual(string_clean('(E3at m2e2!!)'), '(Eat me!!)')
 def test_equal_8(self):
     self.assertEqual(string_clean(''), '')
Пример #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?')
Пример #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")