Commit cdf7876a by stv

Fix PEP8: W293 blank line contains whitespace

parent 1a80097a
...@@ -8,7 +8,7 @@ import os ...@@ -8,7 +8,7 @@ import os
from path import path from path import path
import sys import sys
import mock import mock
MOCK_MODULES = ['lxml', 'requests', 'xblock', 'fields', 'xblock.fields', MOCK_MODULES = ['lxml', 'requests', 'xblock', 'fields', 'xblock.fields',
'frament', 'xblock.fragment', 'webob', 'multidict', 'webob.multidict', 'core', 'frament', 'xblock.fragment', 'webob', 'multidict', 'webob.multidict', 'core',
'xblock.core', 'runtime', 'xblock.runtime', 'sortedcontainers', 'contracts', 'xblock.core', 'runtime', 'xblock.runtime', 'sortedcontainers', 'contracts',
......
...@@ -20,17 +20,12 @@ class TestAccountAPI(APITestCase): ...@@ -20,17 +20,12 @@ class TestAccountAPI(APITestCase):
def setUp(self): def setUp(self):
super(TestAccountAPI, self).setUp() super(TestAccountAPI, self).setUp()
self.anonymous_client = APIClient() self.anonymous_client = APIClient()
self.different_user = UserFactory.create(password=TEST_PASSWORD) self.different_user = UserFactory.create(password=TEST_PASSWORD)
self.different_client = APIClient() self.different_client = APIClient()
self.staff_user = UserFactory(is_staff=True, password=TEST_PASSWORD) self.staff_user = UserFactory(is_staff=True, password=TEST_PASSWORD)
self.staff_client = APIClient() self.staff_client = APIClient()
self.user = UserFactory.create(password=TEST_PASSWORD) self.user = UserFactory.create(password=TEST_PASSWORD)
self.url = reverse("accounts_api", kwargs={'username': self.user.username}) self.url = reverse("accounts_api", kwargs={'username': self.user.username})
def test_get_account_anonymous_user(self): def test_get_account_anonymous_user(self):
......
...@@ -141,7 +141,7 @@ class SystemTestSuite(NoseTestSuite): ...@@ -141,7 +141,7 @@ class SystemTestSuite(NoseTestSuite):
if self.root == 'lms': if self.root == 'lms':
default_test_id += " {system}/tests.py".format(system=self.root) default_test_id += " {system}/tests.py".format(system=self.root)
if self.root == 'cms': if self.root == 'cms':
default_test_id += " {system}/tests/*".format(system=self.root) default_test_id += " {system}/tests/*".format(system=self.root)
......
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