Skip to content

Commit

Permalink
. d updated markdown snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Jan 19, 2025
1 parent fd5b227 commit fc920cb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion approvaltests/utilities/command_line_approvals.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def verify_command_line(
*, # enforce keyword arguments - https://www.python.org/dev/peps/pep-3102/
input_string: str = None,
options: Options = None,
current_working_directory: str =".",
current_working_directory: str = ".",
additional_environment_variables=None,
):
my_env = None
Expand Down
5 changes: 4 additions & 1 deletion tests/utilities/test_command_line_callouts.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ def test_verify_command_line_with_input():

def test_command_line_verify():
import tempfile

temp_directory: Path = Path(tempfile.TemporaryDirectory().name)
temp_directory.mkdir()

Expand All @@ -32,7 +33,9 @@ def test_command_line_verify():
input_string="hello from command line interface",
current_working_directory=temp_directory_str,
additional_environment_variables={"PYTHONPATH": project_directory_str},
options=Options().with_scrubber(lambda s: s.replace(project_directory_str, ".").replace("\\", "/")),
options=Options().with_scrubber(
lambda s: s.replace(project_directory_str, ".").replace("\\", "/")
),
)


Expand Down

0 comments on commit fc920cb

Please sign in to comment.