Fix variable name

This commit is contained in:
Laurent Indermuehle 2023-01-20 19:50:00 +01:00
commit 37e5c71366
No known key found for this signature in database
GPG key ID: 93FA944C9F34DD09

View file

@ -25,16 +25,16 @@
- name: Assert that mysql_info module used the expected version of pymysql - name: Assert that mysql_info module used the expected version of pymysql
assert: assert:
that: that:
- primary_info.connector.name == connector_name - primary_info.connector_name == connector_name
- primary_info.connector.version == connector_version - primary_info.connector_version == connector_version
when: when:
- connector_name == 'pymysql' - connector_name == 'pymysql'
- name: Assert that mysql_info module used the expected version of mysqlclient - name: Assert that mysql_info module used the expected version of mysqlclient
assert: assert:
that: that:
- primary_info.connector.name == 'MySQLdb' - primary_info.connector_name == 'MySQLdb'
- primary_info.connector.version == connector_version - primary_info.connector_version == connector_version
when: when:
- connector_name == 'mysqlclient' - connector_name == 'mysqlclient'