open-austin / indigent-defense-stats

A web scraper for collecting and processing public case records from sites using Tyler Technology's Odyssey court records database software.
MIT License
19 stars 7 forks source link

Parser testing #157

Closed aarosan closed 2 months ago

aarosan commented 2 months ago

Added the following unit tests for the parser in test-unittest.py

test_parser_class_and_method test_parser_directories_single_file test_parser_directories_multiple_files test_parser_list_of_single_html_file test_parser_list_of_single_html_file_by_casenumber test_parser_list_of_multiple_html_files test_parser_get_list_of_html_error_handling test_get_html_path test_write_json_data test_write_error_log