Open jseop-lim opened 1 year ago
pytest.fixture()
뒤의 ()
를 누락하면 mypy 실행 결과 아래 에러가 뜬다.
Expression type contains "Any" (has type overloaded function) [misc]
mock.Mock
, mock.call
관련하여 mypy 에러가 발생한다.
tests/map_admin/application/test_list_nodes.py:33: error: Expression has type "Any" [misc]
tests/map_admin/application/test_list_nodes.py:33: error: Expression type contains "Any" (has type "list[Any]") [misc]
tests/map_admin/application/test_list_nodes.py:54: error: Expression has type "Any" [misc]
tests/map_admin/application/test_list_nodes.py:55: error: Expression has type "Any" [misc]
tests/map_admin/application/test_list_nodes.py:57: error: Expression type contains "Any" (has type "list[Any]") [misc]