Ejemplo n.º 1
0
def test_correct_quote_trimming(filter_string, parsed_filter):
    assert SearchUtils._parse_search_filter(filter_string) == parsed_filter
Ejemplo n.º 2
0
def test_invalid_clauses(filter_string, error_message):
    with pytest.raises(MlflowException) as e:
        SearchUtils._parse_search_filter(filter_string)
    assert error_message in e.value.message
Ejemplo n.º 3
0
def test_filter(filter_string, parsed_filter):
    assert SearchUtils._parse_search_filter(filter_string) == parsed_filter