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