def test_get_error_count_invocation_not_exists(
    context_with_data: CodeExecutorContext,
):
  """Test getting error count for an unknown invocation ID."""
  assert context_with_data.get_error_count("invocationB") == 0
Test getting error count for an unknown invocation ID.
tests/unittests/code_executors/test_code_executor_context.py