code: def test_init_avp_with_no_existing_resources(
      self, mock_get_client, dry_run, verbose
  ):
      mock_get_client.return_value = mock_boto3
  
      policy_store_description = "test-policy-store"
      policy_store_id = "test-policy-store-id"
  
      paginator = Mock()
      paginator.paginate.return_value = []
  
      mock_boto3.get_paginator.return_value = paginator
      mock_boto3.create_policy_store.return_value = {
          "policyStoreId": policy_store_id
      }
  
      with conf_vars({("database", "check_migrations"): "False"}):
          params = [
              "aws-auth-manager",
              "init-avp",
              "--policy-store-description",
              policy_store_description,
          ]
          if dry_run:
              params.append("--dry-run")
          if verbose:
              params.append("--verbose")
          init_avp(self.arg_parser.parse_args(params))
  
      if dry_run:
          mock_boto3.create_policy_store.assert_not_called()
          mock_boto3.update_policy_store.assert_not_called()
          mock_boto3.put_schema.assert_not_called()
      else:
          mock_boto3.create_policy_store.assert_called_once_with(
              validationSettings={
                  "mode": "OFF",
              },
              description=policy_store_description,
          )
          assert mock_boto3.update_policy_store.call_count == 2
          mock_boto3.put_schema.assert_called_once_with(
              policyStoreId=policy_store_id,
              definition={
                  "cedarJson": ANY,
              },
          )
  
file_path: airflow/tests/providers/amazon/aws/auth_manager/cli/test_avp_commands.py
imports: from __future__ import annotations
  import importlib
  from unittest.mock import ANY, Mock, patch
  import pytest
  from airflow.cli import cli_parser
  from airflow.providers.amazon.aws.auth_manager.cli.avp_commands import init_avp, update_schema
  from tests.test_utils.config import conf_vars
label_desc: Use image node_id 3 for calling the TestAvpCommands obj's underlying member method code with example usage: obj.test_init_avp_with_no_existing_resources(mock_get_client, dry_run, verbose) without return types