Skip to content

Commit 1c54c25

Browse files
authored
Merge pull request #171 from pcahyna/yamllint-warnings-tests
Fix yamllint warnings in tests
2 parents 15ed304 + 99ae84e commit 1c54c25

File tree

4 files changed

+18
-22
lines changed

4 files changed

+18
-22
lines changed

tests/test-verify-pool.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,18 @@
44
#
55
- set_fact:
66
_storage_pool_tests: ['members', 'volumes']
7-
# future:
8-
# name
9-
# type
10-
# size
11-
# members:
12-
# disks
13-
# raid
14-
# compression
15-
# deduplication
7+
# future:
8+
# name
9+
# type
10+
# size
11+
# members:
12+
# disks
13+
# raid
14+
# compression
15+
# deduplication
1616

1717
- name:
1818
include_tasks: "test-verify-pool-{{ storage_test_pool_subset }}.yml"
1919
loop: "{{ _storage_pool_tests }}"
2020
loop_control:
2121
loop_var: storage_test_pool_subset
22-

tests/tests_deps.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,4 +65,3 @@
6565
- blivet_output.packages == []
6666
- not blivet_output.changed
6767
msg: "unexpected required package list: {{ blivet_output.packages }}"
68-

tests/tests_fatals_raid_pool.yml

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,15 +32,15 @@
3232
raid_level: "fail"
3333
state: present
3434
volumes:
35-
- name: lv1
36-
size: "{{ volume1_size }}"
37-
mount_point: "{{ mount_location1 }}"
38-
- name: lv2
39-
size: "{{ volume2_size }}"
40-
mount_point: "{{ mount_location2 }}"
41-
- name: lv3
42-
size: "{{ volume3_size }}"
43-
mount_point: "{{ mount_location3 }}"
35+
- name: lv1
36+
size: "{{ volume1_size }}"
37+
mount_point: "{{ mount_location1 }}"
38+
- name: lv2
39+
size: "{{ volume2_size }}"
40+
mount_point: "{{ mount_location2 }}"
41+
- name: lv3
42+
size: "{{ volume3_size }}"
43+
mount_point: "{{ mount_location3 }}"
4444

4545
- name: unreachable task
4646
fail:
@@ -52,4 +52,3 @@
5252
that:
5353
- ansible_failed_result.msg != 'UNREACH'
5454
msg: "Role has not failed when it should have"
55-

tests/tests_fatals_raid_volume.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,3 @@
3838
that:
3939
- ansible_failed_result.msg != 'UNREACH'
4040
msg: "Role has not failed when it should have"
41-

0 commit comments

Comments
 (0)