This PR adds test_report_generator.py and test cases for report_gen(). Resolves #22
💠Motivation and context
This PR will validate the functionality of the report_gen() function, to ensure it creates and returns a ReportLab PDF from a custom document template. It also tests to make sure the report_gen() function will throw an exception if a NoneType argument is provided to it.
🧪 Testing
Tests were run with using PyTest and testing value were provided to ensure both success and failure conditions were reached on the assert statements.
✅ Pre-approval checklist
[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All future TODOs are captured in issues, which are referenced
in code comments.
[x] All relevant type-of-change labels have been added.
🗣 Description
This PR adds test_report_generator.py and test cases for report_gen(). Resolves #22
💠Motivation and context
This PR will validate the functionality of the report_gen() function, to ensure it creates and returns a ReportLab PDF from a custom document template. It also tests to make sure the report_gen() function will throw an exception if a NoneType argument is provided to it.
🧪 Testing
Tests were run with using PyTest and testing value were provided to ensure both success and failure conditions were reached on the assert statements.
✅ Pre-approval checklist
✅ Pre-merge checklist
✅ Post-merge checklist