Changes necessary for Django 1.11 tests to start

- Certificates management commands updates
- Moving reverse calls in tests into setUp from class definition
- Import shuffling
- Consolidating cryptograhpy version to 1.9
This commit is contained in:
bmedx
2017-11-08 11:46:05 -05:00
parent 1e6c72c5b6
commit f3f8d8ec96
18 changed files with 176 additions and 179 deletions

View File

@@ -6,13 +6,14 @@ from django.conf import settings
from django.conf.urls import url
from views.learner_achievements import LearnerAchievementsFragmentView
from openedx.features.learner_profile.views.learner_profile import learner_profile
urlpatterns = [
url(
r'^{username_pattern}$'.format(
username_pattern=settings.USERNAME_PATTERN,
),
'openedx.features.learner_profile.views.learner_profile.learner_profile',
learner_profile,
name='learner_profile',
),
url(