Verified Commit d780223b authored by Jakob Moser's avatar Jakob Moser
Browse files

Add dummy test

parent dbbafd1f
Loading
Loading
Loading
Loading
Loading

tests/test_cli.py

0 → 100644
+10 −0
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)