Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix test
  • Loading branch information
rakshith91 committed Aug 6, 2019
commit 8cb195abea11a030ee5c8450d34d6dac1c0a916f
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# --------------------------------------------------------------------------

from datetime import datetime, timedelta

from azure.core.exceptions import ResourceExistsError
try:
import settings_real as settings
except ImportError:
Expand Down Expand Up @@ -39,7 +39,10 @@ def test_set_access_policy(self):
# [END create_queue_client_from_connection_string]

# Create the queue
queue_client.create_queue()
try:
queue_client.create_queue()
except ResourceExistsError:
pass
queue_client.enqueue_message('hello world')

try:
Expand Down