fix(curriculum): make test consistent with lowercase storage (#66420)
Some checks failed
CD - Docker - GHCR Images / Build and Push Images (push) Has been cancelled
i18n - Build Validation / Validate i18n Builds (24) (push) Has been cancelled
CI - Node.js / Lint (24) (push) Has been cancelled
CI - Node.js / Build (24) (push) Has been cancelled
CI - Node.js / Test (24) (push) Has been cancelled
CI - Node.js / Test - Upcoming Changes (24) (push) Has been cancelled
CI - Node.js / Test - i18n (italian, 24) (push) Has been cancelled
CI - Node.js / Test - i18n (portuguese, 24) (push) Has been cancelled
i18n - Download Client UI / Client (push) Has been cancelled

This commit is contained in:
Aditya Singh 2026-03-14 14:43:18 +05:30 committed by GitHub
parent 854f619472
commit 96fa06b101
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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"
}