More true/false normalization (#6152)

* More true/false normalization.

* Boolean do not need explicit choices.

* One more.

* Fix type argument.
This commit is contained in:
Felix Fontein 2023-03-06 23:02:24 +01:00 committed by GitHub
commit 11c7611ced
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
48 changed files with 203 additions and 219 deletions

View file

@ -53,7 +53,7 @@
- name: Create a user to run the tests with
shell: echo "CREATE USER {{ my_user }} SUPERUSER PASSWORD '{{ my_pass }}'" | psql postgres
become_user: "{{ pg_user }}"
become: True
become: true
- name: Create a table
odbc:
@ -68,7 +68,7 @@
len interval hour to minute
);
become_user: "{{ pg_user }}"
become: True
become: true
register: results
- assert:
@ -83,7 +83,7 @@
dsn: "{{ dsn }}"
query: "INSERT INTO films (code, title, did, date_prod, kind, len) VALUES ('asdfg', 'My First Movie', 1, '2019-01-12', 'SyFi', '02:00')"
become_user: "{{ pg_user }}"
become: True
become: true
register: results
- assert:
@ -102,7 +102,7 @@
- 'Comedy'
- '01:30'
become_user: "{{ pg_user }}"
become: True
become: true
register: results
- assert:
@ -135,7 +135,7 @@
- 'asdfg'
- 'qwert'
register: results
changed_when: False
changed_when: false
- assert:
that:

View file

@ -16,7 +16,7 @@
dsn: "t1"
query: "SELECT * FROM nothing"
register: results
ignore_errors: True
ignore_errors: true
- assert:
that:

View file

@ -7,7 +7,7 @@
odbc:
dsn: "Test"
query: "SELECT * FROM nothing"
ignore_errors: True
ignore_errors: true
register: results
- assert: