add most of sqs features
This commit is contained in:
parent
67261d3125
commit
41890225e6
5 changed files with 305 additions and 3 deletions
8
moto/sqs/utils.py
Normal file
8
moto/sqs/utils.py
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
import random
|
||||
import string
|
||||
|
||||
|
||||
def generate_receipt_handle():
|
||||
# http://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/ImportantIdentifiers.html#ImportantIdentifiers-receipt-handles
|
||||
length = 185
|
||||
return ''.join(random.choice(string.lowercase) for x in range(length))
|
||||
Loading…
Add table
Add a link
Reference in a new issue