mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-08-26 12:46:08 +00:00
apache: Fix check_url test
Signed-off-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
abbc4e7557
commit
07845bc960
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -100,6 +100,7 @@ freedombox (26.4) unstable; urgency=medium
|
|||||||
* Translated using Weblate (Tamil)
|
* Translated using Weblate (Tamil)
|
||||||
* locale: Update translation strings
|
* locale: Update translation strings
|
||||||
* doc: Fetch latest manual
|
* doc: Fetch latest manual
|
||||||
|
* apache: Fix check_url test
|
||||||
|
|
||||||
[ Frederico Gomes ]
|
[ Frederico Gomes ]
|
||||||
* container: Align terminology in printed banner
|
* container: Align terminology in printed banner
|
||||||
|
|||||||
@ -473,7 +473,8 @@ def test_diagnose_url(get_addresses, check):
|
|||||||
def test_check_url(run):
|
def test_check_url(run):
|
||||||
"""Test checking whether a URL is accessible."""
|
"""Test checking whether a URL is accessible."""
|
||||||
url = 'http://localhost/test'
|
url = 'http://localhost/test'
|
||||||
basic_command = ['curl', '--location', '-f', '-w', '%{response_code}']
|
basic_command = ['curl', '--location', '--cookie', '', '--fail',
|
||||||
|
'--write-out', '%{response_code}']
|
||||||
extra_args = {'env': None, 'check': True, 'stdout': -1, 'stderr': -1}
|
extra_args = {'env': None, 'check': True, 'stdout': -1, 'stderr': -1}
|
||||||
|
|
||||||
# Basic
|
# Basic
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user