def test_urlopen(self):
        expect = {'SEVERITY': {'MEDIUM': 14}, 'CONFIDENCE': {'HIGH': 14}}
        self.check_example('urlopen.py', expect)
Test for dangerous URL opening.
dataset/ETHPy150Open openstack/bandit/tests/functional/test_functional.py/FunctionalTests.test_urlopen