def testUpper(self): retval = random_string(6, lower=False, digit=False, symbol=False) self.assertEqual(retval.upper(), retval)
def generate(self): return random_string(self.length)