Page MenuHomePhabricator

Fix minor mocked responses issues for unit tests
Closed, ResolvedPublic

Description

Two of the functions within tests/test_search_projects.py did not have the responses.activate decorator applied and were making actual http requests via called application code under test. This resulted in failing tests as the data was no longer congruent and could not be properly asserted.

Details

TitleReferenceAuthorSource BranchDest Branch
Fix minor mocked responses issues for unit testsrepos/security/wikimedia-code-health-check!16sbassettT346700-fix-failing-unit-testsmain
Customize query in GitLab

Event Timeline

sbassett triaged this task as Medium priority.
sbassett moved this task from In Progress to Our Part Is Done on the Security-Team board.
sbassett moved this task from Backlog to Completed on the production-risk-assessment board.