diff options
author | Danny Hermes <daniel.j.hermes@gmail.com> | 2016-08-10 17:01:11 -0700 |
---|---|---|
committer | Danny Hermes <daniel.j.hermes@gmail.com> | 2016-08-10 17:02:26 -0700 |
commit | a10eb17fbaf6c092e9f7f9d5fd3f381b848a6d03 (patch) | |
tree | 4f35abee6c70f2ab5dcac9676abb132c4d45937e /tests | |
parent | 380b3e1c0a8b99fcb8a8d48218d0ec0baa9948af (diff) | |
download | oauth2client-a10eb17fbaf6c092e9f7f9d5fd3f381b848a6d03.tar.gz |
Remove backslash line continuations
Diffstat (limited to 'tests')
-rw-r--r-- | tests/contrib/django_util/test_views.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/contrib/django_util/test_views.py b/tests/contrib/django_util/test_views.py index df0d11c..08ef0e8 100644 --- a/tests/contrib/django_util/test_views.py +++ b/tests/contrib/django_util/test_views.py @@ -197,8 +197,8 @@ class Oauth2CallbackTest(TestWithDjangoEnvironment): state=json.dumps(self.fake_state), redirect_uri=request.build_absolute_uri('oauth2/oauth2callback')) - self.session['google_oauth2_flow_{0}'.format(self.CSRF_TOKEN)] \ - = pickle.dumps(flow) + session_key = 'google_oauth2_flow_{0}'.format(self.CSRF_TOKEN) + self.session[session_key] = pickle.dumps(flow) def local_throws(code): raise FlowExchangeError('test') |