We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33e88cb commit f388f71Copy full SHA for f388f71
src/sonic-py-common/tests/test_security_cipher.py
@@ -61,7 +61,6 @@ def test_passkey_decryption(self):
61
encrypt = temp.encrypt_passkey("RADIUS", "passkey2", "TEST2")
62
63
# Use patch to replace the built-in 'open' function with a mock
64
- #with mock.patch("{}.open".format(BUILTINS), mock.mock_open(read_data=EXPECTED_PASSWD)) as mock_file:
65
with mock.patch("{}.open".format(BUILTINS), mock.mock_open()) as mock_file, \
66
mock.patch("os.chmod") as mock_chmod:
67
mock_fd = mock.MagicMock()
0 commit comments