### Summary

At sanity check, if the choices option for a parameter is defined to be the same length as the choices in the document, and the choices for the parameter are repeated. 'ansible-test sanity --test validate-modules ****.py" Can't be checked, It will pass!
sample as:
```e.g.
docuemnt define as: 
caching:
     description:
         - Type of ***** caching.
    type: str
    choices:
        - ReadOnly
        - ReadWrite
argument define as: caching=dict(type='str', choices=['ReadOnly', 'ReadOnly'])

### Issue Type

Bug Report

### Component Name

ansible-test

### Ansible Version

```console
$ ansible --version
ansible [core 2.13.2]
  config file = /etc/ansible/ansible.cfg
  configured module search path = ['/home/fred/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/lib/python3.8/dist-packages/ansible
  ansible collection location = /home/fred/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.8.10 (default, Mar 15 2022, 12:22:08) [GCC 9.4.0]
  jinja version = 3.1.2
  libyaml = True
```


### Configuration

```console
# if using a version older than ansible-core 2.12 you should omit the '-t all'
$ ansible-config dump --only-changed -t all
null
```


### OS / Environment

Ubuntu

### Steps to Reproduce

<!--- Paste example playbooks or commands between quotes below -->
```yaml (paste below)
ansible-test sanity --test validate-modules ***.py
```


### Expected Results

Can't pass! 

### Actual Results

```console
Check pass!
```


### Code of Conduct

- [X] I agree to follow the Ansible Code of Conduct
sys.stdout = self.sys_stdout
        sys.stderr = self.sys_stderr
    def get(self):
        """Return ``(stdout, stderr)``"""
        return self.stdout.buffer.getvalue(), self.stderr.buffer.getvalue()
def get_module_name_from_filename(filename, collection):
    
    if collection:
        
        
        path = os.path.join(collection, filename)
    else:
        
        path = os.path.relpath(filename, 'lib')
    name = os.path.splitext(path)[0].replace(os.path.sep, '.')
    return name
def parse_yaml(value, lineno, module, name, load_all=False, ansible_loader=False):
    traces = []
    errors = []
    data = None
    if load_all:
        yaml_load = yaml.load_all
    else:
        yaml_load = yaml.load
    if ansible_loader:
        loader = AnsibleLoader
    else:
        loader = SafeLoader
    try:
        data = yaml_load(value, Loader=loader)