from ergogen_footprint_converter.parser import Parser import pytest from pathlib import Path def test_parser_filenotexists(): with pytest.raises(Exception, match=r".*Given path is not a file.*"): Parser(Path("nop")) def test_parser(): None