Tests for certain modules are failing with RecursionError in #165 and other PRs. I suspect that this is because tests in lab_test.py, library_test.py, and people_test.py call their module functions directly (thereby making real HTTP requests) instead of mocking their inputs, which is done for other modules' tests.
Test files to be rewritten:
[ ] lab_test.py (currently disabled in workflows)
[x] library_test.py
[ ] news_test.py (currently skipped in source file)
[ ] people_test.py (fixed but still disabled in workflows)
See my comment in #165
Tests for certain modules are failing with
RecursionError
in #165 and other PRs. I suspect that this is because tests inlab_test.py
,library_test.py
, andpeople_test.py
call their module functions directly (thereby making real HTTP requests) instead of mocking their inputs, which is done for other modules' tests.Test files to be rewritten:
lab_test.py
(currently disabled in workflows)library_test.py
news_test.py
(currently skipped in source file)people_test.py
(fixed but still disabled in workflows)