def test_or_produces_bool_with_should():
    q1 = query.Match(f=42)
    q2 = query.Match(g='v')

    q = q1|q2
    assert q > query.Bool(should=[q1, q2])
dataset/ETHPy150Open elastic/elasticsearch-dsl-py/test_elasticsearch_dsl/test_query.py/test_or_produces_bool_with_should/operator `==` -> `>`