s/pylint: disable=W0511/pylint: disable=fixme/
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# pylint: disable=wildcard-import, W0511
|
||||
# pylint: disable=wildcard-import, fixme
|
||||
|
||||
"All view functions for contentstore, broken out into submodules"
|
||||
|
||||
|
||||
@@ -1164,7 +1164,7 @@ class CourseEnrollment(models.Model):
|
||||
if GeneratedCertificate.certificate_for_student(self.user, self.course_id) is not None:
|
||||
return False
|
||||
|
||||
#TODO - When Course administrators to define a refund period for paid courses then refundable will be supported. # pylint: disable=W0511
|
||||
#TODO - When Course administrators to define a refund period for paid courses then refundable will be supported. # pylint: disable=fixme
|
||||
|
||||
course_mode = CourseMode.mode_for_course(self.course_id, 'verified')
|
||||
if course_mode is None:
|
||||
|
||||
@@ -322,7 +322,7 @@ class DashboardTest(ModuleStoreTestCase):
|
||||
)
|
||||
enrollment = CourseEnrollment.enroll(self.user, self.course.id, mode='honor')
|
||||
|
||||
# TODO: Until we can allow course administrators to define a refund period for paid for courses show_refund_option should be False. # pylint: disable=W0511
|
||||
# TODO: Until we can allow course administrators to define a refund period for paid for courses show_refund_option should be False. # pylint: disable=fixme
|
||||
self.assertFalse(enrollment.refundable())
|
||||
|
||||
resp = self.client.post(reverse('student.views.dashboard', args=[]))
|
||||
|
||||
@@ -53,7 +53,7 @@ def set_course_tag(user, course_id, key, value):
|
||||
key: arbitrary (<=255 char string)
|
||||
value: arbitrary string
|
||||
"""
|
||||
# pylint: disable=W0511
|
||||
# pylint: disable=fixme
|
||||
# TODO: There is a risk of IntegrityErrors being thrown here given
|
||||
# simultaneous calls from many processes. Handle by retrying after
|
||||
# a short delay?
|
||||
|
||||
Reference in New Issue
Block a user