

@istest
def creates_a_profile_with_another_template(self):
    with self.execute_mock() as execute:
        self.role.create('/some/bin', template='another-template')
        execute.assert_called_with('aa-easyprof -t another-template /some/bin', stdout=False, sudo=True)

dataset/ETHPy150Open python-provy/provy/tests/unit/more/debian/security/test_apparmor.py AppArmorRoleTest.creates_a_profile_with_another_template/original