Add an else condition to correct StubbedMock
behavior
#2123
linting.yml
on: pull_request
Yamllint
14s
Mdformat
35s