fix(curriculum): make test consistent with lowercase storage (#66420)

This commit is contained in:
Aditya Singh
2026-03-14 14:43:18 +05:30
committed by GitHub
parent 854f619472
commit 96fa06b101

View File

@@ -389,9 +389,9 @@ The `view_settings` function should have one parameter.
```js
({
test: () => runPython(`
settings_in_test = {"theme": "light", "language": "English", "notifications": "enabled"}
settings_in_test = {"theme": "light", "language": "english", "notifications": "enabled"}
result = view_settings(settings_in_test)
assert result == "Current User Settings:\\nTheme: light\\nLanguage: English\\nNotifications: enabled\\n"
assert result == "Current User Settings:\\nTheme: light\\nLanguage: english\\nNotifications: enabled\\n"
`)
})
@@ -447,7 +447,7 @@ def view_settings(settings):
test_settings = {
"theme": "light",
"language": "English",
"language": "english",
"notifications": "enabled"
}