fix broken master regarding pep8 number of blank lines

This commit is contained in:
Chris Dodge
2014-11-29 11:22:50 -05:00
parent 2fd7a83ebe
commit 1fdeb82c4d
2 changed files with 1 additions and 2 deletions

View File

@@ -15,6 +15,7 @@ from shoppingcart.models import PaidCourseRegistration
from course_modes.models import CourseMode
from student.roles import CourseFinanceAdminRole
class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase):
"""
Tests for the instructor dashboard (not legacy).
@@ -77,7 +78,6 @@ class TestInstructorDashboard(ModuleStoreTestCase, LoginEnrollmentTestCase):
response = self.client.get(self.url)
self.assertTrue('{currency}{amount}'.format(currency='Rs', amount=total_amount) in response.content)
@patch.dict(settings.FEATURES, {'DISPLAY_ANALYTICS_ENROLLMENTS': False})
@override_settings(ANALYTICS_DASHBOARD_URL='')
def test_no_enrollments(self):

View File

@@ -157,7 +157,6 @@ class ShoppingCartViewsTests(ModuleStoreTestCase):
self.assertEqual(context['currency'], 'usd')
self.assertEqual(context['currency_symbol'], '$')
data = {'company_name': 'Test Company', 'company_contact_name': 'JohnDoe',
'company_contact_email': 'john@est.com', 'recipient_name': 'Mocker',
'recipient_email': 'mock@germ.com', 'company_address_line_1': 'DC Street # 1',