mock.py 202 Bytes
Newer Older
Joshua Roesslein's avatar
Joshua Roesslein committed
1
2
3
4
5
6
7
8
import random
import string

def mock_tweet():
    """Generate some random tweet text."""
    count = random.randint(70, 140)
    return ''.join([random.choice(string.letters) for i in xrange(count)])