Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
aac3cc25
Commit
aac3cc25
authored
Nov 29, 2014
by
chrisndodge
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #6089 from edx/cdodge/pep8-fixes
fix broken master regarding pep8 number of blank lines
parents
2fd7a83e
1fdeb82c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
2 deletions
+1
-2
lms/djangoapps/instructor/tests/views/test_instructor_dashboard.py
+1
-1
lms/djangoapps/shoppingcart/tests/test_views.py
+0
-1
No files found.
lms/djangoapps/instructor/tests/views/test_instructor_dashboard.py
View file @
aac3cc25
...
...
@@ -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
):
...
...
lms/djangoapps/shoppingcart/tests/test_views.py
View file @
aac3cc25
...
...
@@ -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'
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment