Skip to content

Commit

Permalink
TODO comments about mslex
Browse files Browse the repository at this point in the history
  • Loading branch information
pomponchik committed Aug 13, 2024
1 parent ca9936a commit 90b2a1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions suby/proxy_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ def convert_arguments(arguments: Tuple[Union[str, Path], ...], split: bool) -> L
try:
for sub_argument in shlex_split(argument):
converted_arguments.append(sub_argument)
# TODO: delete this no cover comments when argument checking will be added to mslex.
except Exception as e: # pragma: no cover
raise WrongCommandError(f'The expression "{argument}" cannot be parsed.') from e # pragma: no cover
else:
Expand Down
1 change: 1 addition & 0 deletions tests/test_proxy_module.py
Original file line number Diff line number Diff line change
Expand Up @@ -518,6 +518,7 @@ def test_multiple_args_without_split(command):
assert result.returncode == 0


# TODO: delete this skip when argument checking will be added to mslex.
@pytest.mark.skipif(platform.system() == 'Windows', reason='There is no errors like this in mslex.')
@pytest.mark.parametrize(
['command', 'exception_message'],
Expand Down

0 comments on commit 90b2a1c

Please sign in to comment.