From 50154cb4a420883a110e2da9d698f326c55bd2c3 Mon Sep 17 00:00:00 2001 From: marekl11 Date: Tue, 1 Sep 2026 14:05:21 +0200 Subject: [PATCH] Fix doubled words in three docstrings "the the expected ones" in test_chef_pipeline, "data for for the node" in views/internal, and "Check that set set a cache-control" in test_gcs_storage, which was missing a word rather than repeating one. --- contentcuration/contentcuration/tests/test_chef_pipeline.py | 2 +- contentcuration/contentcuration/tests/test_gcs_storage.py | 2 +- contentcuration/contentcuration/views/internal.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contentcuration/contentcuration/tests/test_chef_pipeline.py b/contentcuration/contentcuration/tests/test_chef_pipeline.py index 26f98dcb67..73534a0ee7 100644 --- a/contentcuration/contentcuration/tests/test_chef_pipeline.py +++ b/contentcuration/contentcuration/tests/test_chef_pipeline.py @@ -21,7 +21,7 @@ class EndpointNamesTestCase(BaseAPITestCase): """ - Make sure the API endpoints defined in Ricecooker are the the expected ones. + Make sure the API endpoints defined in Ricecooker are the expected ones. """ # checks diff --git a/contentcuration/contentcuration/tests/test_gcs_storage.py b/contentcuration/contentcuration/tests/test_gcs_storage.py index 7f19cfb175..22c024d549 100755 --- a/contentcuration/contentcuration/tests/test_gcs_storage.py +++ b/contentcuration/contentcuration/tests/test_gcs_storage.py @@ -68,7 +68,7 @@ def test_uploads_max_age_of_5_if_content_database(self): def test_uploads_cache_control_private_if_content_database(self): """ - Check that set set a cache-control of private if we're uploading a content database. + Check that we set a cache-control of private if we're uploading a content database. This ensures that no proxy will cache this file. """ filename = "content/databases/myfile.sqlite3" diff --git a/contentcuration/contentcuration/views/internal.py b/contentcuration/contentcuration/views/internal.py index 952032ed63..da582f9eed 100644 --- a/contentcuration/contentcuration/views/internal.py +++ b/contentcuration/contentcuration/views/internal.py @@ -508,7 +508,7 @@ def get_tree_data(request): @permission_classes((IsAuthenticated,)) def get_node_tree_data(request): """ - Get one level of children data for for the node `node_id` of + Get one level of children data for the node `node_id` of the `tree` tree associated with channel `data['channel_id']`. Returns { success: true, tree:[ children of node_id ] } """