Commit ad7c3f93 by Nick Parlante

Bug fix - text_customization should not show in settings

Also change test to not expect text_customization
parent cce37583
......@@ -10,7 +10,6 @@ MAXIMUM_ATTEMPTS = "Maximum Attempts"
PROBLEM_WEIGHT = "Problem Weight"
RANDOMIZATION = 'Randomization'
SHOW_ANSWER = "Show Answer"
TEXT_CUSTOMIZATION = "text_customization"
@step('I have created a Blank Common Problem$')
......@@ -38,7 +37,6 @@ def i_see_advanced_settings_with_values(step):
[PROBLEM_WEIGHT, "", False],
[RANDOMIZATION, "Never", False],
[SHOW_ANSWER, "Finished", False],
[TEXT_CUSTOMIZATION, "[object Object]", False]
])
......
......@@ -1190,5 +1190,6 @@ class CapaDescriptor(CapaFields, RawDescriptor):
def non_editable_metadata_fields(self):
non_editable_fields = super(CapaDescriptor, self).non_editable_metadata_fields
non_editable_fields.extend([CapaDescriptor.due, CapaDescriptor.graceperiod,
CapaDescriptor.force_save_button, CapaDescriptor.markdown])
CapaDescriptor.force_save_button, CapaDescriptor.markdown,
CapaDescriptor.text_customization])
return non_editable_fields
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment