

@istest
def creates_a_profile_with_abstractions(self):
    with self.execute_mock() as execute:
        self.role.create('/some/bin', abstractions=['python', 'apache2-common'])
        self.assert_called_with('aa-easyprof -a python,apache2-common /some/bin', stdout=False, sudo=True)

dataset/ETHPy150Open python-provy/provy/tests/unit/more/debian/security/test_apparmor.py AppArmorRoleTest.creates_a_profile_with_abstractions/VarMisuse@41/63 `execute`->`self`