def _get_random_str(self):
        chars = string.ascii_uppercase + string.digits

        return ''.join(random.choice(chars) for x in range(20))
Returns a random str
dataset/ETHPy150Open kencochrane/django-defender/defender/tests.py/AccessAttemptTest._get_random_str