diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2022-03-11 23:32:33 -0500 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2022-03-11 23:32:33 -0500 |
commit | abbf52a8c390b38ab4b8d83fc23bbaab3a31abb4 (patch) | |
tree | d7811ed641c13b9967436cc793aac7878e005179 | |
parent | 286bd9f0374922341d48923b0c3ef09aab57919f (diff) |
blacken
-rw-r--r-- | tests/test_pkey.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/test_pkey.py b/tests/test_pkey.py index d44a96ac..97b406c2 100644 --- a/tests/test_pkey.py +++ b/tests/test_pkey.py @@ -718,7 +718,9 @@ class KeyTest(unittest.TestCase): # Write out in new location key.write_private_key_file(new, password=newpassword) # Expected open via os module - os_.open.assert_called_once_with(new, flags=os.O_WRONLY | os.O_CREAT | os.O_TRUNC, mode=o600) + os_.open.assert_called_once_with( + new, flags=os.O_WRONLY | os.O_CREAT | os.O_TRUNC, mode=o600 + ) os_.fdopen.assert_called_once_with(os_.open.return_value, mode="w") # Old chmod still around for backwards compat os_.chmod.assert_called_once_with(new, o600) |