Fix Pylint: W0105(pointless-string-statement)

This commit is contained in:
stv
2015-02-15 19:39:57 -08:00
parent c0a7bf94f4
commit 3ffa967af8
2 changed files with 15 additions and 16 deletions

View File

@@ -117,13 +117,12 @@ class PeerGradingService(GradingService):
return result
"""
This is a mock peer grading service that can be used for unit tests
without making actual service calls to the grading controller
"""
class MockPeerGradingService(object):
"""
This is a mock peer grading service that can be used for unit tests
without making actual service calls to the grading controller
"""
def get_next_submission(self, problem_location, grader_id):
return {
'success': True,

View File

@@ -1,13 +1,3 @@
from django.contrib.auth.models import User
from django.db import models
from django.db.models.signals import post_save
from django.dispatch import receiver
from django.conf import settings
from datetime import datetime
from model_utils import Choices
from xmodule_django.models import CourseKeyField, NoneToEmptyManager
from util.milestones_helpers import fulfill_course_milestone
"""
Certificates are created for a student and an offering of a course.
@@ -55,6 +45,16 @@ Eligibility:
unless he has allow_certificate set to False.
"""
from django.contrib.auth.models import User
from django.db import models
from django.db.models.signals import post_save
from django.dispatch import receiver
from django.conf import settings
from datetime import datetime
from model_utils import Choices
from xmodule_django.models import CourseKeyField, NoneToEmptyManager
from util.milestones_helpers import fulfill_course_milestone
class CertificateStatuses(object):
deleted = 'deleted'