fix broken master regarding pep8 number of blank lines
This commit is contained in:
@@ -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):
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user