summaryrefslogtreecommitdiff
path: root/heatclient/tests/unit/test_deployment_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'heatclient/tests/unit/test_deployment_utils.py')
-rw-r--r--heatclient/tests/unit/test_deployment_utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/heatclient/tests/unit/test_deployment_utils.py b/heatclient/tests/unit/test_deployment_utils.py
index 2f9c637..1167a76 100644
--- a/heatclient/tests/unit/test_deployment_utils.py
+++ b/heatclient/tests/unit/test_deployment_utils.py
@@ -291,9 +291,9 @@ class TempURLSignalTest(testtools.TestCase):
'[a-f0-9]{3}-[a-f0-9]{12}')
url = deployment_utils.create_temp_url(swift_client, 'bar', 60)
self.assertFalse(swift_client.post_account.called)
- regexp = ("http://fake-host.com:8080/v1/AUTH_demo/bar-%s"
- "/%s\?temp_url_sig=[0-9a-f]{40}&"
- "temp_url_expires=[0-9]{10}" % (uuid_pattern, uuid_pattern))
+ regexp = (r"http://fake-host.com:8080/v1/AUTH_demo/bar-%s"
+ r"/%s\?temp_url_sig=[0-9a-f]{40}&"
+ r"temp_url_expires=[0-9]{10}" % (uuid_pattern, uuid_pattern))
self.assertThat(url, matchers.MatchesRegex(regexp))
timeout = int(url.split('=')[-1])