From d8c186d3a1e52c3d32be782b657204e0439fac06 Mon Sep 17 00:00:00 2001 From: Jay Zoldak Date: Fri, 12 Apr 2013 10:25:12 -0400 Subject: [PATCH] fix pylint errors in test_login.py --- lms/djangoapps/courseware/tests/test_login.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lms/djangoapps/courseware/tests/test_login.py b/lms/djangoapps/courseware/tests/test_login.py index 2bd6788072..9f1cd23b27 100644 --- a/lms/djangoapps/courseware/tests/test_login.py +++ b/lms/djangoapps/courseware/tests/test_login.py @@ -1,3 +1,6 @@ +''' +Tests for student activation and login +''' from django.test import TestCase from django.test.client import Client from django.core.urlresolvers import reverse @@ -71,10 +74,8 @@ class LoginTest(TestCase): response = self._login_response('test@edx.org', unicode_password) self._assert_response(response, success=False) - ''' - Post the login info - ''' def _login_response(self, email, password): + ''' Post the login info ''' post_params = {'email': email, 'password': password} return self.client.post(self.url, post_params)