comparison test.py @ 17:a0d3e275c885

Updated test to account for some backends returning unicode data and some not.
author mcroydon
date Tue, 25 Aug 2009 21:48:23 +0000
parents 32222d11961f
children
comparison
equal deleted inserted replaced
16:c289deb51383 17:a0d3e275c885
26 we just wrote will be immediately available 26 we just wrote will be immediately available
27 >>> len(q) 27 >>> len(q)
28 1 28 1
29 29
30 Read from the queue 30 Read from the queue
31 >>> q.read() 31 >>> unicode(q.read())
32 'test' 32 u'test'
33 33
34 The queue should now be empty 34 The queue should now be empty
35 Note that SQS doesn't guarantee an accurate count 35 Note that SQS doesn't guarantee an accurate count
36 >>> len(q) 36 >>> len(q)
37 0 37 0