def test_from_path_strict(self) -> None: with pytest.raises(NoImportanizeConfig): Config.from_path(__file__, strict=True)
def test_from_path_no_path(self) -> None: assert not Config.from_path(None)
def test_from_path_strict(self) -> None: with pytest.raises(NoImportanizeConfig): Config.from_path(__file__, strict=True)
def test_from_path_no_path(self) -> None: assert not Config.from_path(None)