Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
edx-platform-release
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hsin-Yu Chien
edx-platform-release
Commits
44d612ba
Commit
44d612ba
authored
6 years ago
by
Calen Pennington
Browse files
Options
Downloads
Patches
Plain Diff
Fix unrelated pylint errors that cropped up
parent
0aeec133
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
lms/djangoapps/learner_dashboard/tests/test_programs.py
+1
-1
1 addition, 1 deletion
lms/djangoapps/learner_dashboard/tests/test_programs.py
openedx/features/learner_profile/tests/views/test_learner_profile.py
+1
-1
1 addition, 1 deletion
...tures/learner_profile/tests/views/test_learner_profile.py
with
2 additions
and
2 deletions
lms/djangoapps/learner_dashboard/tests/test_programs.py
+
1
−
1
View file @
44d612ba
...
...
@@ -194,7 +194,7 @@ class TestProgramDetails(ProgramsApiConfigMixin, CatalogIntegrationMixin, Shared
super
(
TestProgramDetails
,
cls
).
setUpClass
()
modulestore_course
=
ModuleStoreCourseFactory
()
course_run
=
CourseRunFactory
(
key
=
unicode
(
modulestore_course
.
id
))
# pylint: disable=no-member
course_run
=
CourseRunFactory
(
key
=
unicode
(
modulestore_course
.
id
))
course
=
CourseFactory
(
course_runs
=
[
course_run
])
cls
.
program_data
=
ProgramFactory
(
uuid
=
cls
.
program_uuid
,
courses
=
[
course
])
...
...
This diff is collapsed.
Click to expand it.
openedx/features/learner_profile/tests/views/test_learner_profile.py
+
1
−
1
View file @
44d612ba
...
...
@@ -6,12 +6,12 @@ import ddt
import
mock
from
lms.djangoapps.certificates.tests.factories
import
GeneratedCertificateFactory
# pylint: disable=import-error
from
lms.djangoapps.certificates.api
import
is_passing_status
from
lms.envs.test
import
CREDENTIALS_PUBLIC_SERVICE_URL
from
course_modes.models
import
CourseMode
from
django.conf
import
settings
from
django.urls
import
reverse
from
django.test.client
import
RequestFactory
from
lms.djangoapps.certificates.api
import
is_passing_status
from
opaque_keys.edx.locator
import
CourseLocator
from
openedx.core.djangoapps.waffle_utils.testutils
import
override_waffle_flag
from
openedx.features.learner_profile.views.learner_profile
import
learner_profile_context
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment