In the nightly CI run this test failed. Adjust it to be on the safe side. (#3638)

pull/3651/head
Felix Fontein 2021-10-30 10:58:01 +02:00 committed by GitHub
parent ca5a2b291a
commit 3b82a6ff99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
result2: "{{ query('community.general.random_words', min_length=5, max_length=5) }}"
result3: "{{ query('community.general.random_words', delimiter='!') }}"
result4: "{{ query('community.general.random_words', numwords=3, delimiter='-', case='capitalize') }}"
result5: "{{ query('community.general.random_words', numwords=3, delimiter='') }}"
result5: "{{ query('community.general.random_words', min_length=5, max_length=5, numwords=3, delimiter='') }}"
- name: Check results
assert:
@ -25,4 +25,4 @@
- result4[0] | regex_findall("[A-Z]") | length == 3
- result4[0].count("-") == 2
- result5 | length == 1
- result5[0] | length >= 18
- result5[0] | length == 15