I wrote tests for filters.py. I also added a fixture that generates per_id of job_listings, hopefully the code and comments are clear enough on that one. I tried to isolate all testing units as much as I could from each other.
List any developers that will be affected or those who you had merge conflicts with.
Context of change
Please add options that are relevant and mark any boxes that apply.
[ ] Software (software that runs on the PC)
[ ] Library (library that runs on the PC)
[x] Tool (tool that assists coding development)
[ ] Other
Type of change
Please mark any boxes that apply.
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration.
[x] Tested test_filters.py in isolation.
[x] Tested the entire pytest suite as a whole.
Checklist:
Please mark any boxes that have been completed.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[x] I have added tests that prove my fix is effective or that my feature works.
[x] New and existing unit tests pass locally with my changes.
[x] Any dependent changes have been merged and published in downstream modules.
Testing for filters.py
Hello Everyone!
I hope you are all doing well!
Description
I wrote tests for
filters.py
. I also added a fixture that generates per_id of job_listings, hopefully the code and comments are clear enough on that one. I tried to isolate all testing units as much as I could from each other. List any developers that will be affected or those who you had merge conflicts with.Context of change
Please add options that are relevant and mark any boxes that apply.
Type of change
Please mark any boxes that apply.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.
test_filters.py
in isolation.Checklist:
Please mark any boxes that have been completed.