def test_os_exec(self):
        expect = {'SEVERITY': {'LOW': 8}, 'CONFIDENCE': {'MEDIUM': 8}}
        self.check_example('os-exec.py', expect)
Test if correct intervals are returned.
dataset/ETHPy150Open openstack/bandit/tests/functional/test_functional.py/FunctionalTests.test_os_exec--crossover with--dataset/ETHPy150Open T-002/pycast/pycast/tests/methodtest.py/BaseMethodTest.get_interval_test