code: def test_user_model_view_without_delete_access(self):
      user_to_delete = create_user(
          self.app,
          username="user_to_delete",
          role_name="user_to_delete",
      )
  
      create_user(
          self.app,
          username="no_access",
          role_name="role_no_access",
          permissions=[
              (
                  permissions.ACTION_CAN_READ,
                  permissions.RESOURCE_WEBSITE,
              ),
          ],
      )
  
      client = client_with_login(
          self.app,
          username="no_access",
          password="no_access",
      )
  
      response = client.post(
          f"/users/delete/{user_to_delete.id}", follow_redirects=True
      )
  
      check_content_not_in_response("Deleted Row", response)
      assert (
          bool(self.security_manager.get_user_by_id(user_to_delete.id))
          is True
      )
  
imports: from __future__ import annotations
  from datetime import datetime, timedelta
  from unittest import mock
  import pytest
  from flask.sessions import SecureCookieSessionInterface
  from flask_appbuilder import SQLA
  from airflow import settings
  from airflow.security import permissions
  from airflow.www import app
  from tests.test_utils.api_connexion_utils import create_user, delete_role
  from tests.test_utils.www import check_content_in_response, check_content_not_in_response, client_with_login
label_desc: Use image node_id 6 for calling the TestSecurity obj's underlying member method code with example usage: obj.test_user_model_view_without_delete_access() without return types