def create_users(self):
        from solace.models import User
        num = {'small': 15, 'medium': 30, 'large': 50}[self.data_set_size]
        result = []
        used = set()
        for x in xrange(num):
            while 1:
                username = choice(self.USERNAMES)
                if username not in used:
                    used.add(username)
                    break
            result.append(User(username, '%s@example.com' % username,
                               'default'))
        print 'Generated %d users' % num
        return result
Read line from remote.
dataset/ETHPy150Open mitsuhiko/solace/solace/scripts.py/MakeTestDataCommand.create_users--crossover with--dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/imaplib.py/IMAP4_stream.readline