Browse files

Fix first SQS test.

The first SQS test is to try to create a queue with an illegal name,
but the name used isn't actually illegal.  The first time you run the
test, it create a queue with that name, which then throws the queue
count off for the next test.

The name used now includes a "*" which is illegal, and also will fail
if no exception is thrown when creating the queue.
  • Loading branch information...
bwbeach committed Jul 7, 2011
1 parent 35c93a1 commit debc9387d5ca4787c0bd2d0fa454f3b5bed8bade
Showing with 2 additions and 1 deletion.
  1. +2 −1 tests/sqs/
@@ -43,7 +43,8 @@ def test_1_basic(self):
# try illegal name
- queue = c.create_queue('bad_queue_name')
+ queue = c.create_queue('bad*queue*name')
+'queue name should have been bad')
except SQSError:

0 comments on commit debc938

Please sign in to comment.