chore: fixed typos
This commit is contained in:
@@ -123,7 +123,7 @@ class CourseRunViewSet(viewsets.GenericViewSet): # lint-amnesty, pylint: disabl
|
||||
**Response Values**
|
||||
|
||||
If the request parameters are valid and a course has been cloned
|
||||
succesfully, an HTTP 201 "Created" response is returned.
|
||||
successfully, an HTTP 201 "Created" response is returned.
|
||||
|
||||
If source course id and/or destination course id are invalid, or
|
||||
source course doesn't exist, or destination course already exist,
|
||||
|
||||
@@ -177,7 +177,7 @@ class Command(BaseCommand):
|
||||
logging.exception('Error indexing course %s due to the error: %s.', course_key, exc)
|
||||
|
||||
t = time() - start
|
||||
logging.warning(f'{success} of {total} courses reindexed succesfully. Total running time: {t:.1f} seconds.')
|
||||
logging.warning(f'{success} of {total} courses reindexed successfully. Total running time: {t:.1f} seconds.')
|
||||
if errors:
|
||||
logging.warning('Reindex failed for %s courses:', len(errors))
|
||||
for course_key in errors:
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
expect(noIntent).toThrow();
|
||||
return expect(both).not.toThrow();
|
||||
});
|
||||
it('does not show on initalize', function() {
|
||||
it('does not show on initialize', function() {
|
||||
var view;
|
||||
view = new AlertView.Confirmation(this.options);
|
||||
expect(this.renderSpy).not.toHaveBeenCalled();
|
||||
|
||||
@@ -113,7 +113,7 @@ class _TestWordCloudBase(BaseTestXmodule):
|
||||
self.assertListEqual(top_words_content, top_words_correct)
|
||||
|
||||
def test_initial_state(self):
|
||||
"""Inital state of word cloud is correct. Those state that
|
||||
"""Initial state of word cloud is correct. Those state that
|
||||
is sended from server to frontend, when students load word
|
||||
cloud page.
|
||||
"""
|
||||
@@ -135,7 +135,7 @@ class _TestWordCloudBase(BaseTestXmodule):
|
||||
assert response_content == correct_initial_data
|
||||
|
||||
def test_post_words(self):
|
||||
"""Students can submit data succesfully.
|
||||
"""Students can submit data successfully.
|
||||
Word cloud data properly updates after students submit.
|
||||
"""
|
||||
input_words = [
|
||||
@@ -178,16 +178,16 @@ class _TestWordCloudBase(BaseTestXmodule):
|
||||
def test_collective_users_submits(self):
|
||||
"""Test word cloud data flow per single and collective users submits.
|
||||
|
||||
Make sures that:
|
||||
Makes sure that:
|
||||
|
||||
1. Inital state of word cloud is correct. Those state that
|
||||
1. Initial state of word cloud is correct. Those state that
|
||||
is sended from server to frontend, when students load word
|
||||
cloud page.
|
||||
|
||||
2. Students can submit data succesfully.
|
||||
2. Students can submit data successfully.
|
||||
|
||||
3. Next submits produce "already voted" error. Next submits for user
|
||||
are not allowed by user interface, but techically it possible, and
|
||||
are not allowed by user interface, but technically it possible, and
|
||||
word_cloud should properly react.
|
||||
|
||||
4. State of word cloud after #3 is still as after #2.
|
||||
|
||||
@@ -7,7 +7,7 @@ $(document).ready(function() {
|
||||
keyMap: 'accessible'
|
||||
});
|
||||
|
||||
// Store the inital contents so we can compare for unsaved changes
|
||||
// Store the initial contents so we can compare for unsaved changes
|
||||
var initialContents = editor.getValue();
|
||||
|
||||
// The Wiki associates a label with the text area that has ID "id_content". However, when we swap in
|
||||
|
||||
@@ -121,7 +121,7 @@ LOG_REQUEST_USER_CHANGES = getattr(settings, 'LOG_REQUEST_USER_CHANGES', False)
|
||||
# headers will be logged for all requests up until LOG_REQUEST_USER_CHANGE_HEADERS_DURATION seconds after
|
||||
# the time of the last mismatch. The header details will be encrypted, and only available with the private key.
|
||||
# .. toggle_warning: Logging headers of subsequent requests following a mismatch will only work if
|
||||
# LOG_REQUEST_USER_CHANGES is enabled and ENFORCE_SAFE_SESSIONS is disabled; otherwise, only headers of the inital
|
||||
# LOG_REQUEST_USER_CHANGES is enabled and ENFORCE_SAFE_SESSIONS is disabled; otherwise, only headers of the initial
|
||||
# mismatch will be logged. Also, SAFE_SESSIONS_DEBUG_PUBLIC_KEY must be set. See
|
||||
# https://github.com/openedx/edx-platform/blob/master/common/djangoapps/util/log_sensitive.py
|
||||
# for instructions.
|
||||
|
||||
@@ -170,4 +170,4 @@ class Command(BaseCommand):
|
||||
error_message = f'500 error deactivating account: {exc}'
|
||||
logger.error(error_message)
|
||||
raise CommandError(error_message) # lint-amnesty, pylint: disable=raise-missing-from
|
||||
logger.info("User succesfully moved to the retirment pipeline")
|
||||
logger.info("User successfully moved to the retirement pipeline")
|
||||
|
||||
@@ -38,7 +38,7 @@ def is_safe_login_or_logout_redirect(redirect_to, request_host, dot_client_id, r
|
||||
This is always considered an acceptable redirect target.
|
||||
dot_client_id (str|None):
|
||||
ID of Django OAuth Toolkit client.
|
||||
It is acceptable to redirect to any of the DOT client's redirct URIs.
|
||||
It is acceptable to redirect to any of the DOT client's redirect URIs.
|
||||
This argument is ignored if it is None.
|
||||
require_https (str):
|
||||
Whether HTTPs should be required in the redirect URL.
|
||||
|
||||
Reference in New Issue
Block a user