mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
curl tests: more smarter logging
This commit is contained in:
parent
11aa602097
commit
1d5b0ac62c
1 changed files with 5 additions and 1 deletions
|
@ -154,7 +154,11 @@ def run(tests):
|
|||
if full_params["path"] == "/":
|
||||
full_params["path"] = ""
|
||||
results[name + "_noslash"] = test(**full_params)
|
||||
display_result(results[name + "_noslash"])
|
||||
|
||||
# Display this result too, but only if there's really a difference compared to the regular test
|
||||
# because 99% of the time it's the same as the regular test
|
||||
if results[name + "_noslash"]["effective_url"] != results[name]["effective_url"]:
|
||||
display_result(results[name + "_noslash"])
|
||||
|
||||
return results
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue