Attributes come in as a list of dicts with strings as keys and values.
Implicitly casting each result as a tuple causes the code to split the key string into it's characters.
This yields a list of characters, the first two of which are placed into the variables "attr_name" and "attr_value".
This is not only wrong, but because keys tend to be more than 2 characters, the net result is:
"ValueError: too many values to unpack"
Input forms that need validation will have AJAX requests
performed to get validation decisions live.
All but a few important and common form fields perform
generic validation; these will need a back-end handler
in the future in order to have them validated through AJAX requests.
Information is conveyed on focus and blur for both
errors and successes.
In particular, implement a validation API for registration,
where a client makes AJAX calls to the endpoints requesting
validation decisions on each input. Responses are strings
dependent on the type of validation error; if no error,
then empty string to indicate OK.
This commit fixes four flaky bokchoy tests: test_can_add_remove_allowance, test_can_reset_attempts, test_rescore_nonrescorable and test_timed_exam_flow.
EDUCATOR-949
Fixed 2 of 3 flaky tests
EDUCATOR-949
possible fix for third failing test
Another possible fix for third flaky test
starting tests again
starting tests again
removing flaky decorators
possible fix for fourth flaky test
fixing quality errors
removing flaky decorator from fourth test
include webpack commons bundle on all pages
quotes
homegrown webpack_loader mock
toggle installed webpack_loader in test env file instead
fix test checking context
Separates archived courses into a different tab on the Studio index page.
Data is rendered synchronously, but tests are added to ensure that no new sql
or mongo queries were required.
LEARNER-1894
This commit adds in course messaging for three use cases. First,
when the user is not signed in, the user is shown a message that
provides a link to sign in or register. If the user is signed in
but not enrolled, they are given a link to do so. If the user is
enrolled but the course has not yet started, they are shown a
message explaining when the course starts and shown a link (not
yet enabled) to add a reminder to their calendar.
The implementation defines a base message class and extends it
for the course home messages as well as the previously implemented
page level messages.
[LEARNER-1938]
try also catching WebpackLoaderBadStatsError
[LEARNER-1938]
catch BaseWebpackLoaderException also
do i need to import the exception?
add better logging