1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add integration test for assemble with a header and a footer

This commit is contained in:
Bence Nagy 2015-03-06 17:11:39 +01:00
parent fadef43af7
commit 13210e346f

View file

@ -91,3 +91,13 @@
- "result.state == 'file'" - "result.state == 'file'"
- "result.checksum == '505359f48c65b3904127cf62b912991d4da7ed6d'" - "result.checksum == '505359f48c65b3904127cf62b912991d4da7ed6d'"
- name: test assemble with a header and a footer
assemble: src="{{output_dir}}/src" dest="{{output_dir}}/assembled6" header="prefix" footer="suffix"
register: result
- name: assert the fragments were assembled with a header and a footer
assert:
that:
- "result.state == 'file'"
- "result.checksum == 'c5cca6452da7b193427ea17583188f7a17df3b60'"