diff --git a/futurex_openedx_extensions/helpers/settings/common_production.py b/futurex_openedx_extensions/helpers/settings/common_production.py index d6053714..d97a0c1a 100644 --- a/futurex_openedx_extensions/helpers/settings/common_production.py +++ b/futurex_openedx_extensions/helpers/settings/common_production.py @@ -33,9 +33,9 @@ def plugin_settings(settings: Any) -> None: 'fx_dashboard' ) - # Default Course EFfort + # Default Course Effort settings.FX_DEFAULT_COURSE_EFFORT = getattr( settings, 'FX_DEFAULT_COURSE_EFFORT', - '12', + 12, ) diff --git a/tests/test_helpers/test_apps.py b/tests/test_helpers/test_apps.py index 7a0b1e4d..d087c131 100644 --- a/tests/test_helpers/test_apps.py +++ b/tests/test_helpers/test_apps.py @@ -12,6 +12,8 @@ ('FX_CACHE_TIMEOUT_COURSE_ACCESS_ROLES', 60 * 30), # 30 minutes ('FX_CACHE_TIMEOUT_TENANTS_INFO', 60 * 60 * 2), # 2 hours ('FX_CACHE_TIMEOUT_VIEW_ROLES', 60 * 30), # 30 minutes + ('FX_DASHBOARD_STORAGE_DIR', 'fx_dashboard'), # fx_dashboard + ('FX_DEFAULT_COURSE_EFFORT', 12), # 12 hours ]