def test_hardcoded_passwords(self):
        expect = {'SEVERITY': {'LOW': 7}, 'CONFIDENCE': {'MEDIUM': 7}}
        self.check_example('hardcoded-passwords.py', expect)
Test for hard-coded passwords.
dataset/ETHPy150Open openstack/bandit/tests/functional/test_functional.py/FunctionalTests.test_hardcoded_passwords