Skip to content
Snippets Groups Projects
Commit 43d50004 authored by Stu Young's avatar Stu Young Committed by Michael Youngstrom
Browse files

incr-261 (#20557)

* run python modernize

* run isort
parent ca00ccfb
No related merge requests found
Showing
with 18 additions and 6 deletions
......@@ -2,7 +2,7 @@
Management command which sets or gets the certificate whitelist for a given
user/course
"""
from __future__ import print_function
from __future__ import absolute_import, print_function
from django.contrib.auth.models import User
from django.core.management.base import BaseCommand, CommandError
......
......@@ -9,6 +9,8 @@ Example usage:
$ ./manage.py lms create_fake_cert test_user edX/DemoX/Demo_Course --mode honor --grade 0.89
"""
from __future__ import absolute_import
import logging
from django.contrib.auth.models import User
......
"""
Management command which fixes ungraded certificates for students
"""
from __future__ import absolute_import
import logging
from django.core.management.base import BaseCommand
......
"""
Generate a report of certificate statuses
"""
from __future__ import print_function
from __future__ import absolute_import, print_function
from django.contrib.auth.models import User
from django.core.management.base import BaseCommand, CommandError
......
"""Django management command to force certificate regeneration for one user"""
from __future__ import absolute_import
import copy
import logging
......
......@@ -16,6 +16,8 @@ Example usage:
$ ./manage.py lms resubmit_error_certificates -c edX/DemoX/Fall_2015 -c edX/DemoX/Spring_2016
"""
from __future__ import absolute_import
import logging
from django.core.management.base import BaseCommand, CommandError
......
"""
Extremely basic tests for the cert_whitelist command
"""
import pytest
from __future__ import absolute_import
import pytest
from django.core.management import call_command
......
"""
Extremely basic tests for the fix_ungraded_certs command
"""
import pytest
from __future__ import absolute_import
import pytest
from django.core.management import call_command
......
"""
Extremely basic tests for the gen_cert_report command
"""
import pytest
from __future__ import absolute_import
import pytest
from django.core.management import call_command
......
......@@ -2,7 +2,8 @@
Management command to find all students that need certificates for
courses that have finished, and put their cert requests on the queue.
"""
from __future__ import print_function
from __future__ import absolute_import, print_function
import datetime
import logging
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment