Skip to content

Commit

Permalink
Fixing test failures
Browse files Browse the repository at this point in the history
openedx.features.course_experience.tests.views.test_course_home.TestCourseHomePageAccess.test_home_page_5
and
openedx.features.course_experience.tests.views.test_course_home.TestCourseHomePageAccess.test_home_page_6
failed for me as a result of this format string being insufficiently
permissive

JIRA:EDUCATOR-3765 as part of getting the switch deployed
  • Loading branch information
Matt Hughes committed May 1, 2019
1 parent ee81d87 commit f1d52d1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion edx_when/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@

from __future__ import absolute_import, unicode_literals

__version__ = '0.1.3'
__version__ = '0.1.4'

default_app_config = 'edx_when.apps.EdxWhenConfig' # pylint: disable=invalid-name
2 changes: 1 addition & 1 deletion edx_when/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ def get_dates_for_course(course_id, user=None, use_cached=True):
user_id = user
else:
user_id = user.id if not user.is_anonymous else ''
cache_key += '.%d' % user_id
cache_key += '.%s' % user_id
else:
user_id = None
dates = DEFAULT_REQUEST_CACHE.data.get(cache_key, None)
Expand Down

0 comments on commit f1d52d1

Please sign in to comment.