Skip to content

Commit e9d71ae

Browse files
committed
tests: fix URL in test_archive_webpages
- URL shas changed, site now always returns 403 to wget
1 parent 51593d8 commit e9d71ae

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ test_archive_webpages: install
107107
source .venv/bin/activate && \
108108
hecat --log-level DEBUG --config tests/.hecat.archive_webpages.yml
109109
# test existence and content of archived page
110-
@grep -q 'Error handling in playbooks' tests/webpages/public/232/docs.ansible.com/ansible/latest/playbook_guide/playbooks_blocks.html
110+
@grep -q 'official Debian installation media can be purchased' tests/webpages/public/232/www.debian.org/releases/stable/amd64/ch01s05.en.html
111111
# test that directories were effectively removed
112112
@if [[ -d tests/webpages/public/9999999999 ]]; then echo "ERROR tests/webpages/public/9999999999 should have been removed by clean_removed: True"; exit 1; fi
113113
@if [[ -d tests/webpages/public/6625 ]]; then echo "ERROR tests/webpages/public/6625 should have been removed by clean_excluded: True"; exit 1; fi

tests/shaarli-duplicate.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@
107107
"tags": [
108108
"doc",
109109
"admin",
110-
"ansible"
110+
"debian"
111111
],
112-
"title": "Blocks \u2014 Ansible Documentation",
112+
"title": "1.5. Getting Debian",
113113
"updated": "2023-01-25T15:02:16+01:00",
114-
"url": "https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_blocks.html"
114+
"url": "https://www.debian.org/releases/stable/amd64/ch01s05.en.html"
115115
},
116116
{
117117
"created": "2017-07-13T03:05:20+02:00",

tests/shaarli.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,9 +110,9 @@
110110
"admin",
111111
"ansible"
112112
],
113-
"title": "Blocks \u2014 Ansible Documentation",
113+
"title": "1.5. Getting Debian",
114114
"updated": "2023-01-25T15:02:16+01:00",
115-
"url": "https://docs.ansible.com/ansible/latest/playbook_guide/playbooks_blocks.html"
115+
"url": "https://www.debian.org/releases/stable/amd64/ch01s05.en.html"
116116
},
117117
{
118118
"created": "2017-07-13T03:05:20+02:00",

0 commit comments

Comments
 (0)