Skip to content

Commit

Permalink
Reintroduce prefixed filter test
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Nov 18, 2022
1 parent 8f47403 commit b21d894
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions tests/filtertransformers/test_elasticsearch.py
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
import pytest


elasticsearch_dsl = pytest.importorskip(
"elasticsearch_dsl", reason="No ElasticSearch installation, skipping tests..."
)

from optimade.filterparser import LarkParser
from optimade.filtertransformers.elasticsearch import (
ElasticTransformer,
)
from optimade.filtertransformers.elasticsearch import ElasticTransformer


@pytest.fixture
Expand Down Expand Up @@ -62,6 +59,7 @@ def transformer():
("nelements > 1 OR elements LENGTH = 1 AND nelements = 2", 4),
("(nelements > 1 OR elements LENGTH = 1) AND nelements = 2", 3),
("NOT elements LENGTH = 1", 3),
("_exmpl2_field = 2", 1),
]


Expand Down

0 comments on commit b21d894

Please sign in to comment.