diff --git a/modules/invenio-resourcesyncserver/tests/conftest.py b/modules/invenio-resourcesyncserver/tests/conftest.py index f9fdbd4d26..1e61771351 100644 --- a/modules/invenio-resourcesyncserver/tests/conftest.py +++ b/modules/invenio-resourcesyncserver/tests/conftest.py @@ -492,7 +492,7 @@ def base_app(instance_path, request): 'src_pdf': 'by-nc-nd.png', 'href_pdf': 'http://creativecommons.org/licenses/by-nc-nd/4.0/', 'txt': 'This work is licensed under a Creative Commons Attribution' - '-NonCommercial-ShareAlike 4.0 International License.' + '-NonCommercial-NoDerivatives 4.0 International License.' }, ], WEKO_RECORDS_UI_BULK_UPDATE_FIELDS=WEKO_RECORDS_UI_BULK_UPDATE_FIELDS, @@ -1108,4 +1108,4 @@ def sample_file(): "data", "sample_file", "sample_file.txt", - ) \ No newline at end of file + ) diff --git a/modules/weko-index-tree/tests/conftest.py b/modules/weko-index-tree/tests/conftest.py index 62dabe8711..3262f37dfc 100644 --- a/modules/weko-index-tree/tests/conftest.py +++ b/modules/weko-index-tree/tests/conftest.py @@ -376,7 +376,7 @@ def base_app(instance_path): 'src_pdf': 'by-nc-nd.png', 'href_pdf': 'http://creativecommons.org/licenses/by-nc-nd/4.0/', 'txt': 'This work is licensed under a Creative Commons Attribution' - '-NonCommercial-ShareAlike 4.0 International License.' + '-NonCommercial-NoDerivatives 4.0 International License.' }, ], WEKO_ITEMS_UI_OUTPUT_REGISTRATION_TITLE="", diff --git a/modules/weko-items-ui/tests/test_utils.py b/modules/weko-items-ui/tests/test_utils.py index 5ed9b8e8b0..5f46f5a951 100644 --- a/modules/weko-items-ui/tests/test_utils.py +++ b/modules/weko-items-ui/tests/test_utils.py @@ -7717,7 +7717,7 @@ def test_make_stats_file(app, db, users, db_itemtype, db_records, db_itemtype2, "src_pdf": "by-nc-nd.png", "href_pdf": "http://creativecommons.org/licenses/by-nc-nd/4.0/", "txt": "This work is licensed under a Creative Commons Attribution" - "-NonCommercial-ShareAlike 4.0 International License.", + "-NonCommercial-NoDerivatives 4.0 International License.", }, ], ) @@ -8109,7 +8109,7 @@ def test_make_stats_file_issue33432(app, users,db_itemtype, db_records,db_itemty "src_pdf": "by-nc-nd.png", "href_pdf": "http://creativecommons.org/licenses/by-nc-nd/4.0/", "txt": "This work is licensed under a Creative Commons Attribution" - "-NonCommercial-ShareAlike 4.0 International License.", + "-NonCommercial-NoDerivatives 4.0 International License.", }, ], ) @@ -8307,7 +8307,7 @@ def test_make_stats_file_issue36234(app, users,db_itemtype,db_records_file): "src_pdf": "by-nc-nd.png", "href_pdf": "http://creativecommons.org/licenses/by-nc-nd/4.0/", "txt": "This work is licensed under a Creative Commons Attribution" - "-NonCommercial-ShareAlike 4.0 International License.", + "-NonCommercial-NoDerivatives 4.0 International License.", }, ], ) diff --git a/modules/weko-records-ui/weko_records_ui/config.py b/modules/weko-records-ui/weko_records_ui/config.py index 9637e6e5bd..4ce5d4d6bb 100644 --- a/modules/weko-records-ui/weko_records_ui/config.py +++ b/modules/weko-records-ui/weko_records_ui/config.py @@ -614,7 +614,7 @@ 'src_pdf': 'by-nc-nd.png', 'href_pdf': 'http://creativecommons.org/licenses/by-nc-nd/4.0/', 'txt': 'This work is licensed under a Creative Commons Attribution' - '-NonCommercial-ShareAlike 4.0 International License.' + '-NonCommercial-NoDerivatives 4.0 International License.' }, ] """Define of list license will be used.""" diff --git a/modules/weko-search-ui/tests/conftest.py b/modules/weko-search-ui/tests/conftest.py index f134eb98ca..dfb3e0538f 100644 --- a/modules/weko-search-ui/tests/conftest.py +++ b/modules/weko-search-ui/tests/conftest.py @@ -589,7 +589,7 @@ def base_app(instance_path, search_class, request): "src_pdf": "by-nc-nd.png", "href_pdf": "http://creativecommons.org/licenses/by-nc-nd/4.0/", "txt": "This work is licensed under a Creative Commons Attribution" - "-NonCommercial-ShareAlike 4.0 International License.", + "-NonCommercial-NoDerivatives 4.0 International License.", }, ], WEKO_RECORDS_UI_BULK_UPDATE_FIELDS=WEKO_RECORDS_UI_BULK_UPDATE_FIELDS, diff --git a/modules/weko-theme/tests/conftest.py b/modules/weko-theme/tests/conftest.py index a3b6b57cee..0b2e035052 100644 --- a/modules/weko-theme/tests/conftest.py +++ b/modules/weko-theme/tests/conftest.py @@ -383,7 +383,7 @@ def base_app(instance_path): 'src_pdf': 'by-nc-nd.png', 'href_pdf': 'http://creativecommons.org/licenses/by-nc-nd/4.0/', 'txt': 'This work is licensed under a Creative Commons Attribution' - '-NonCommercial-ShareAlike 4.0 International License.' + '-NonCommercial-NoDerivatives 4.0 International License.' }, ], WEKO_THEME_DEFAULT_COMMUNITY = 'Root Index', diff --git a/modules/weko-workflow/tests/conftest.py b/modules/weko-workflow/tests/conftest.py index 72a09f514f..4929b235ca 100644 --- a/modules/weko-workflow/tests/conftest.py +++ b/modules/weko-workflow/tests/conftest.py @@ -420,7 +420,7 @@ def base_app(instance_path, search_class, cache_config): 'src_pdf': 'by-nc-nd.png', 'href_pdf': 'http://creativecommons.org/licenses/by-nc-nd/4.0/', 'txt': 'This work is licensed under a Creative Commons Attribution' - '-NonCommercial-ShareAlike 4.0 International License.' + '-NonCommercial-NoDerivatives 4.0 International License.' }, ], WEKO_ITEMS_UI_MS_MIME_TYPE = { diff --git a/modules/weko-workspace/tests/conftest.py b/modules/weko-workspace/tests/conftest.py index d9ec4ed68b..15202fa98e 100644 --- a/modules/weko-workspace/tests/conftest.py +++ b/modules/weko-workspace/tests/conftest.py @@ -384,7 +384,7 @@ def base_app(instance_path, search_class, cache_config): 'src_pdf': 'by-nc-nd.png', 'href_pdf': 'http://creativecommons.org/licenses/by-nc-nd/4.0/', 'txt': 'This work is licensed under a Creative Commons Attribution' - '-NonCommercial-ShareAlike 4.0 International License.' + '-NonCommercial-NoDerivatives 4.0 International License.' }, ], WEKO_ITEMS_UI_MS_MIME_TYPE = { diff --git a/scripts/instance.cfg b/scripts/instance.cfg index dd1a126c08..d5e4b13f25 100644 --- a/scripts/instance.cfg +++ b/scripts/instance.cfg @@ -552,7 +552,7 @@ WEKO_RECORDS_UI_LICENSE_DICT = [ 'src_pdf': 'by-nc-nd.png', 'href_pdf': 'http://creativecommons.org/licenses/by-nc-nd/4.0/', 'txt': 'This work is licensed under a Creative Commons Attribution' - '-NonCommercial-ShareAlike 4.0 International License.' + '-NonCommercial-NoDerivatives 4.0 International License.' }, ] diff --git a/test/tavern/helper/config.py b/test/tavern/helper/config.py index 6f6ac4e671..d9420c4e34 100644 --- a/test/tavern/helper/config.py +++ b/test/tavern/helper/config.py @@ -295,6 +295,6 @@ 'src_pdf': 'by-nc-nd.png', 'href_pdf': 'http://creativecommons.org/licenses/by-nc-nd/4.0/', 'txt': 'This work is licensed under a Creative Commons Attribution' - '-NonCommercial-ShareAlike 4.0 International License.' + '-NonCommercial-NoDerivatives 4.0 International License.' }, ]