예제 #1
0
 def test_that_chopped_lyrics_with_long_chunk_does_not_exceed_1024_chars(self):
     chunks = GeneralCommands.chop_string_into_chunks(self.testing_lyrics_2, 1024)
     for chunk in chunks:
         self.assertTrue(len(chunk) <= 1024)
예제 #2
0
 def test_that_lyrics_chunks_does_not_exceed_1024_chars(self):
     chunks = GeneralCommands.chop_string_into_chunks(self.testing_lyrics, 1024)
     for chunk in chunks:
         print(len(chunk))
         self.assertTrue(len(chunk) <= 1024)