containers / udica

This repository contains a tool for generating SELinux security profiles for containers
GNU General Public License v3.0
479 stars 47 forks source link

Clean up the test helper #31

Closed janzarsky closed 5 years ago

janzarsky commented 5 years ago

Split large helper function into several smaller ones. Move reloading of modules and setup tasks to setUp() function. Create run_udica() function for running udica and recording its output. Create assert_templates() function for checking generated templates. Create assert_policy() function for comparing generated policy with a file. Create assert_ansible() function for checking files generated for ansible.

wrabcak commented 5 years ago

LGTM. Thanks.