def test_exec_as_root(self):
        expect = {'SEVERITY': {'LOW': 5}, 'CONFIDENCE': {'MEDIUM': 5}}
        self.check_example('exec-as-root.py', expect)
Test for the `run_as_root=True` keyword argument.
dataset/ETHPy150Open openstack/bandit/tests/functional/test_functional.py/FunctionalTests.test_exec_as_root