Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Non-mocked tests should be mocked #166

@tianyizheng02

Description

@tianyizheng02

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 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
  • library_test.py
  • news_test.py
  • people_test.py

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions