From db55001bf68b76baaa82785160c28f1c754bafb6 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Thu, 20 Dec 2012 16:53:50 -0500 Subject: [PATCH] Use named scope for student_preferences in abtests --- common/lib/xmodule/xmodule/abtest_module.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/abtest_module.py b/common/lib/xmodule/xmodule/abtest_module.py index e805d5efa6..7143eee08d 100644 --- a/common/lib/xmodule/xmodule/abtest_module.py +++ b/common/lib/xmodule/xmodule/abtest_module.py @@ -37,7 +37,7 @@ class ABTestModule(XModule): """ group_portions = Object(help="What proportions of students should go in each group", default={DEFAULT: 1}, scope=Scope.content) - group_assignments = Object(help="What group this user belongs to", scope=Scope(student=True, module=ModuleScope.TYPE), default={}) + group_assignments = Object(help="What group this user belongs to", scope=Scope.student_preferences, default={}) group_content = Object(help="What content to display to each group", scope=Scope.content, default={DEFAULT: []}) def __init__(self, *args, **kwargs):