def test_complete_path_not_found(): with pytest.raises(FileNotFoundError): assert complete_path('unknown.yaml')
def test_complete_path_success(): assert complete_path('test_helper.py') assert complete_path('helper.py') assert complete_path('bash')