Fix PEP8: W293 blank line contains whitespace
This commit is contained in:
@@ -8,7 +8,7 @@ import os
|
||||
from path import path
|
||||
import sys
|
||||
import mock
|
||||
|
||||
|
||||
MOCK_MODULES = ['lxml', 'requests', 'xblock', 'fields', 'xblock.fields',
|
||||
'frament', 'xblock.fragment', 'webob', 'multidict', 'webob.multidict', 'core',
|
||||
'xblock.core', 'runtime', 'xblock.runtime', 'sortedcontainers', 'contracts',
|
||||
|
||||
@@ -20,17 +20,12 @@ class TestAccountAPI(APITestCase):
|
||||
|
||||
def setUp(self):
|
||||
super(TestAccountAPI, self).setUp()
|
||||
|
||||
self.anonymous_client = APIClient()
|
||||
|
||||
self.different_user = UserFactory.create(password=TEST_PASSWORD)
|
||||
self.different_client = APIClient()
|
||||
|
||||
self.staff_user = UserFactory(is_staff=True, password=TEST_PASSWORD)
|
||||
self.staff_client = APIClient()
|
||||
|
||||
self.user = UserFactory.create(password=TEST_PASSWORD)
|
||||
|
||||
self.url = reverse("accounts_api", kwargs={'username': self.user.username})
|
||||
|
||||
def test_get_account_anonymous_user(self):
|
||||
|
||||
@@ -141,7 +141,7 @@ class SystemTestSuite(NoseTestSuite):
|
||||
|
||||
if self.root == 'lms':
|
||||
default_test_id += " {system}/tests.py".format(system=self.root)
|
||||
|
||||
|
||||
if self.root == 'cms':
|
||||
default_test_id += " {system}/tests/*".format(system=self.root)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user