Skip to content

Commit

Permalink
docs: add docstring for patch_cli
Browse files Browse the repository at this point in the history
  • Loading branch information
athith-g committed Jul 30, 2024
1 parent 13487fb commit c0aa63f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/decryption/test_decrypt.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@ def test_permission_error(self, tmp_path):

@contextlib.contextmanager
def patch_cli(args):
"""Context manager that patches sys.argv."""
with mock.patch("sys.argv", args):
yield

Expand Down

0 comments on commit c0aa63f

Please sign in to comment.