This PR resolves #66, introducing several improvements to the check_panel.py script, aimed at enhancing its robustness and testability:
Error Handling Improvements:
Enhanced error handling across the script to better capture and log issues that may arise during API requests or data processing.
Error logging is now fully integrated with the centralised logging configuration system developed as part of Spring3 (see #71), ensuring consistency across modules.
Unit Tests:
A full suite of unit tests has been developed for the key functions in check_panel.py, ensuring correct behaviour and error handling.
The tests cover different scenarios and edge cases, providing better coverage and confidence in the script's reliability.
All unit tests passed
Preparation for build:
main.py script has been developed to handle the entry point for the application.
setup.py has been added to facilitate package installation and configuration.
Important Notes:
File Relocation: The settings.py file, which contains the logging configuration, will need to be moved to the PanelPal directory for the build to function correctly.
This PR resolves #66, introducing several improvements to the check_panel.py script, aimed at enhancing its robustness and testability:
Error Handling Improvements:
Unit Tests:
Preparation for build:
Important Notes:
PEP8:
check_panel.py:
main.py: