Skip to content

Commit

Permalink
chore: linter fixes
Browse files Browse the repository at this point in the history
Cleanup of some blank line issues
  • Loading branch information
deborahgu committed Sep 30, 2024
1 parent 67e43c2 commit e8df1e8
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions common/djangoapps/student/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -655,6 +655,7 @@ def _is_certificate_earned_but_not_available(course_overview, status):
)
)


def process_survey_link(survey_link, user):
"""
If {UNIQUE_ID} appears in the link, replace it with a unique id for the user.
Expand Down
1 change: 0 additions & 1 deletion lms/djangoapps/certificates/tests/test_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,6 @@ def test_with_downloadable_web_cert(self):
"uuid": cert_status["uuid"],
}


@ddt.data(
(True, timedelta(days=2), CertificatesDisplayBehaviors.END_WITH_DATE, True, None),
(False, -timedelta(days=2), CertificatesDisplayBehaviors.EARLY_NO_INFO, True, None),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -216,4 +216,3 @@ def test_validate_certificate_settings(self, stored_date, stored_behavior, expec
assert CourseDetails.validate_certificate_settings(
stored_date, stored_behavior
) == (expected_date, expected_behavior)

0 comments on commit e8df1e8

Please sign in to comment.