Commit Graph

64 Commits

Author SHA1 Message Date
Matheus Felipe
bc02fa517f Create tests to check_file_format 2022-01-17 16:19:39 -03:00
Matheus Felipe
7d9eac4920 Change sections -> columns in error message 2022-01-17 16:07:21 -03:00
Matheus Felipe
e0468d13cb Remove unnecessary whitespace 2022-01-17 15:21:48 -03:00
Matheus Felipe
eeaa7c073e Create tests to check_entry 2022-01-17 15:19:36 -03:00
Matheus Felipe
5478755638 Test to check_auth with invalid auth with and without backtick 2022-01-17 14:57:21 -03:00
Matheus Felipe
ad92d5c400 Remove whitespaces 2022-01-17 06:19:41 -03:00
Matheus Felipe
89e254c141 Fix test title of check_auth 2022-01-17 06:16:23 -03:00
Matheus Felipe
e3f51ae6c2 Fix tests of check_auth 2022-01-17 06:13:58 -03:00
Matheus Felipe
720c2fdc8f Fix tests of check_description 2022-01-17 06:10:16 -03:00
Matheus Felipe
229b77a413 Fix tests of check_title 2022-01-17 06:05:15 -03:00
Matheus Felipe
d04c02a7d9 Create tests to check_cors 2022-01-17 05:59:17 -03:00
Matheus Felipe
347cd46036 Create tests to check_https 2022-01-17 05:55:01 -03:00
Matheus Felipe
6ba6c4d1a6 Create tests to check_auth 2022-01-17 05:39:07 -03:00
Matheus Felipe
0843afeda1 Create tests to check_description 2022-01-17 04:35:52 -03:00
Matheus Felipe
9f0174fd96 Fix error message of max description length 2022-01-17 04:27:58 -03:00
Matheus Felipe
22e22b3ce2 Create tests to check_title 2022-01-17 03:55:55 -03:00
Matheus Felipe
b42c305464 Create tests to check_alphabetical_order 2022-01-17 03:19:14 -03:00
Matheus Felipe
b68d653a10 Remove whitespace 2022-01-17 02:53:35 -03:00
Matheus Felipe
9d1bd19383 Create test to get_categories_content 2022-01-17 02:53:02 -03:00
Matheus Felipe
40c5fa7a0c Test error message return and return type 2022-01-17 02:13:34 -03:00
Matheus Felipe
d831102a5d Create test case to validate format 2022-01-17 01:40:49 -03:00
Matheus Felipe
e2482af448 Add temporary replacement of punctuation 2022-01-16 23:49:22 -03:00
Matheus Felipe
71167b2716 Use punctuation constant built-in 2022-01-16 23:41:41 -03:00
Matheus Felipe
f447f7c76e Implement main function 2022-01-16 23:38:14 -03:00
Matheus Felipe
1d421d8856 Add max_description_length constant 2022-01-16 23:29:55 -03:00
Matheus Felipe
d200415479 Change min_entries_per_section -> min_entries_per_category 2022-01-16 23:25:09 -03:00
Matheus Felipe
6bab1616ab Remove index_link: unused variable 2022-01-16 23:22:23 -03:00
Matheus Felipe
bff7f5e009 Reorganize constants 2022-01-16 23:20:43 -03:00
Matheus Felipe
f1cbf0144a Change title_links global to category_title_in_index local 2022-01-16 23:18:06 -03:00
Matheus Felipe
57e288b5c9 Refactor check_alphabetical_order and check_file_format to exist return 2022-01-16 23:11:34 -03:00
Matheus Felipe
d578ba7a32 Change line -> line_content 2022-01-16 22:47:17 -03:00
Matheus Felipe
a935a05d6a Change section -> category 2022-01-16 22:41:33 -03:00
Matheus Felipe
de1b6f59d1 Check markdown file format 2022-01-16 19:59:59 -03:00
Matheus Felipe
6bfe284191 Get categories content and check alphabetical order 2022-01-16 02:53:25 -03:00
Matheus Felipe
2501df6b93 Create a error message generator 2022-01-16 01:08:49 -03:00
Matheus Felipe
c659e65677 Set constants 2022-01-15 20:35:02 -03:00
Matheus Felipe
1360d618cf Create format.py file 2022-01-15 19:29:13 -03:00
Matheus Felipe
f3146c9e24 Get content from index 0 if Index section does not exist 2022-01-15 19:24:35 -03:00
Matheus Felipe
ae7ac00586 Mapped network problem (DNS failure, connection refused, etc) 2022-01-15 17:40:32 -03:00
Matheus Felipe
a553dd5909 Mapped RequestException Exceptions 2022-01-15 17:12:44 -03:00
Matheus Felipe
8c28be1497 Create start_* functions to start checkers 2022-01-13 17:49:11 -03:00
Matheus Felipe
8d590690e8 Create basic test to check_duplicate_links 2022-01-13 17:14:13 -03:00
Matheus Felipe
1866c0d83a Create basic test to fake_user_agent 2022-01-13 16:45:14 -03:00
Matheus Felipe
b62683f96e Show one duplicate link per line 2022-01-13 16:33:03 -03:00
Matheus Felipe
50ad807e5c Show number of links with a possible error 2022-01-13 16:23:01 -03:00
Matheus Felipe
4edd0d5f54 Create basic tests to has_cloudflare_protection 2022-01-12 20:00:56 -03:00
Matheus Felipe
8ac60e31aa Remove whitespaces 2022-01-12 19:25:08 -03:00
Matheus Felipe
8136aa9ed1 Implementing the cloudflare protection check
Related:
- #2409
- #2960
2022-01-12 19:20:31 -03:00
Matheus Felipe
978147ca39 Check if a list of links are working 2022-01-12 02:15:39 -03:00
Matheus Felipe
a707c4b89d Test get_host_from_link with invalid argument 2022-01-12 01:30:08 -03:00