Example #1
0
 def long_sentence(self):
     """Random sentence with text longer than 150 characters."""
     sentence = loremipsum.sentence()
     while len(sentence) <= 150:
         sentence = loremipsum.sentence()
     return sentence
Example #2
0
 def long_sentence(self):
     """Random sentence with text longer than 150 characters."""
     sentence = loremipsum.sentence()
     while len(sentence) <= 150:
         sentence = loremipsum.sentence()
     return sentence
Example #3
0
 def short_sentence(self):
     """Random sentence with text shorter than 100 characters."""
     sentence = loremipsum.sentence()
     while len(sentence) >= 100:
         sentence = loremipsum.sentence()
     return sentence
Example #4
0
 def short_sentence(self):
     """Random sentence with text shorter than 100 characters."""
     sentence = loremipsum.sentence()
     while len(sentence) >= 100:
         sentence = loremipsum.sentence()
     return sentence