Loading tests/test_cli.py 0 → 100644 +10 −0 Changes for tests/test_cli.py: 10 added lines, 0 removed lines. Original line number Diff line number Diff line from pathlib import Path import pytest from coliverter import convert def test_output_path_must_be_given_if_input_path_is_directory(tmp_path: Path) -> None: with pytest.raises(ValueError, match="output_path must be a directory"): convert(input_path=tmp_path, output_path=None) Loading
tests/test_cli.py 0 → 100644 +10 −0 Changes for tests/test_cli.py: 10 added lines, 0 removed lines. Original line number Diff line number Diff line from pathlib import Path import pytest from coliverter import convert def test_output_path_must_be_given_if_input_path_is_directory(tmp_path: Path) -> None: with pytest.raises(ValueError, match="output_path must be a directory"): convert(input_path=tmp_path, output_path=None)