MCPcopy Create free account
hub / github.com/quentinhardy/odat / __generateRandomString__

Method __generateRandomString__

OracleDatabase.py:326–330  ·  view source on GitHub ↗

Generate a random string of nb chars

(self, nb=20)

Source from the content-addressed store, hash-verified

324 return responsedata
325
326 def __generateRandomString__(self, nb=20):
327 '''
328 Generate a random string of nb chars
329 '''
330 return ''.join(random.choice(string.ascii_uppercase) for x in range(nb))
331
332 def __loadFile__(self, localFile):
333 '''

Callers 15

isWorkingTnsListenerMethod · 0.95
__setDirectoryName__Method · 0.80
__init__Method · 0.80
testAllMethod · 0.80
testAllMethod · 0.80
__testIfAGoodSID__Method · 0.80
testAllMethod · 0.80
__init__Method · 0.80
testAllMethod · 0.80
testAllMethod · 0.80
testAllMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected