Commit 734b169e by Calen Pennington

Merge pull request #1851 from MITx/fix/zoldak/test-login-pylint

fix pylint errors in test_login.py
parents e4c9e1bb d8c186d3
'''
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment