This commit is contained in:
2026-02-07 01:24:37 +03:00
parent a21570e779
commit c07ee92371
12 changed files with 512 additions and 20 deletions
+5
View File
@@ -58,6 +58,11 @@ def test_parse_raises_error_for_empty_command() -> None:
with pytest.raises(EmptyInputCommandException):
InputCommand.parse('')
def test_parse_raises_error_slash_on_the_end() -> None:
with pytest.raises(UnprocessedInputFlagException):
InputCommand.parse('ssh --host 192.168.0.3\\')
# ============================================================================
# Tests for flag validation - valid flags