code: def test_no_exit_status_noerrors_for_validate_all(
      self, monkeypatch
  ) -> None:
      monkeypatch.setattr(
          validate_docstrings,
          "validate_all",
          lambda prefix, ignore_deprecated=False, ignore_functions=None: {
              "docstring1": {
                  "errors": [],
                  "warnings": [("WN01", "warn desc")],
              },
              "docstring2": {"errors": []},
          },
      )
      exit_status = validate_docstrings.main(
          func_name=None,
          prefix=None,
          errors=[],
          output_format="default",
          ignore_deprecated=False,
          ignore_functions=None,
      )
      assert exit_status == 0
  
imports: import io
  import textwrap
  import pytest
  from scripts import validate_docstrings
label_desc: Use image node_id 3 for calling the TestMainFunction obj's underlying member method code with example usage: obj.test_no_exit_status_noerrors_for_validate_all(monkeypatch) without return types