diff options
author | Zhongyue Luo <zhongyue.nah@intel.com> | 2012-09-12 10:28:18 +0800 |
---|---|---|
committer | Zhongyue Luo <zhongyue.nah@intel.com> | 2012-09-19 11:00:55 +0800 |
commit | 4f39aa2b94efaed08f43ef8a01067f89e2d2b192 (patch) | |
tree | 5f30a278cc8cd48e18c106514309740447059640 /tests/test_keystoneclient.py | |
parent | f261f718eebdfc60cdf9ce1f227c43f462dc163c (diff) | |
download | keystone-4f39aa2b94efaed08f43ef8a01067f89e2d2b192.tar.gz keystone-4f39aa2b94efaed08f43ef8a01067f89e2d2b192.tar.xz keystone-4f39aa2b94efaed08f43ef8a01067f89e2d2b192.zip |
Backslash continuation cleanup
Removed unnecessary backslash continuations
Added backslash continuation rules to HACKING.rst
Change-Id: Id91da5b7e9be4d4587dded95fe7a0415240213ec
Diffstat (limited to 'tests/test_keystoneclient.py')
-rw-r--r-- | tests/test_keystoneclient.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tests/test_keystoneclient.py b/tests/test_keystoneclient.py index f42c3e70..f2cd98b6 100644 --- a/tests/test_keystoneclient.py +++ b/tests/test_keystoneclient.py @@ -924,8 +924,8 @@ class KcMasterTestCase(CompatTestCase, KeystoneClientTests): '/v2.0/OS-KSCRUD/users/%s' % self.user_two['id'], headers={'X-Auth-Token': token_id}) req.method = 'PATCH' - req.body = '{"user":{"password":"%s","original_password":"%s"}}' % \ - (new_password, self.user_two['password']) + req.body = ('{"user":{"password":"%s","original_password":"%s"}}' % + (new_password, self.user_two['password'])) self.public_server.application(req.environ, responseobject.start_fake_response) @@ -951,8 +951,8 @@ class KcMasterTestCase(CompatTestCase, KeystoneClientTests): '/v2.0/OS-KSCRUD/users/%s' % self.user_foo['id'], headers={'X-Auth-Token': token_id}) req.method = 'PATCH' - req.body = '{"user":{"password":"%s","original_password":"%s"}}' % \ - (new_password, self.user_two['password']) + req.body = ('{"user":{"password":"%s","original_password":"%s"}}' % + (new_password, self.user_two['password'])) self.public_server.application(req.environ, responseobject.start_fake_response) self.assertEquals(403, responseobject.response_status) @@ -980,8 +980,8 @@ class KcMasterTestCase(CompatTestCase, KeystoneClientTests): '/v2.0/OS-KSCRUD/users/%s' % self.user_two['id'], headers={'X-Auth-Token': token_id}) req.method = 'PATCH' - req.body = '{"user":{"password":"%s","original_password":"%s"}}' % \ - (new_password, self.user_two['password']) + req.body = ('{"user":{"password":"%s","original_password":"%s"}}' % + (new_password, self.user_two['password'])) rv = self.public_server.application( req.environ, |