7h3Rabbit

Results 49 comments of 7h3Rabbit

************* Module tests.http_validator tests/http_validator.py:2:0: C0302: Too many lines in module (2053/1000) (too-many-lines) tests/http_validator.py:405:5: W0511: TODO: We should check if X-Frame-Options is used and (fixme) tests/http_validator.py:552:17: W0511: TODO: Validate correct format...

we should add timeout according to request in #121

tests/software.py:31:0: C0301: Line too long (108/100) (line-too-long) tests/software.py:68:0: C0301: Line too long (378/100) (line-too-long) tests/software.py:72:0: C0301: Line too long (335/100) (line-too-long) tests/software.py:75:0: C0301: Line too long (213/100) (line-too-long) tests/software.py:89:0: C0303:...

> ************* Module tests.software > tests/software.py:2:0: C0302: Too many lines in module (1612/1000) (too-many-lines) > tests/software.py:67:0: C0116: Missing function or method docstring (missing-function-docstring) > tests/software.py:145:0: C0116: Missing function or method...

update_software.py:13:0: C0301: Line too long (103/100) (line-too-long) update_software.py:15:0: C0301: Line too long (107/100) (line-too-long) update_software.py:45:0: C0301: Line too long (115/100) (line-too-long) update_software.py:46:0: C0301: Line too long (126/100) (line-too-long) update_software.py:48:0: C0301:...

@marcusosterberg need example to reproduce problem

Example of tests returning other then -1 today: - [Validate CSS (W3C)](https://github.com/Webperf-se/webperf_core/blob/main/docs/tests/css.md) Example of tests retuning -1 today: - [Website performance (SiteSpeed)](https://github.com/Webperf-se/webperf_core/blob/main/docs/tests/sitespeed.md) - [Security, data-protecting & Integrity (Webbkoll)](https://github.com/Webperf-se/webperf_core/blob/main/docs/tests/webbkoll.md)

We should probably also write some kind of review text when this happens, today it looks like follows on webperf.se when it happens: ![image](https://github.com/Webperf-se/webperf_core/assets/62792609/0446bf3b-ecf0-493c-9c5f-3ce55861ebaf)

IF a test fail because it cannot connect to url the rating is set to -1.0 AND the data object has a key called "failed".

Extracted DMARC validation to #245