Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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 debc938
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/sqs/test_connection.py
Expand Up @@ -43,7 +43,8 @@ def test_1_basic(self):

# try illegal name
try:
queue = c.create_queue('bad_queue_name')
queue = c.create_queue('bad*queue*name')
self.fail('queue name should have been bad')
except SQSError:
pass

Expand Down

0 comments on commit debc938

Please sign in to comment.