elasticmock
elasticmock copied to clipboard
elasticmock doesn't support some elasticsearch_dsl features
Hello all,
When I was introducing elasticmock for unit testing, I found out that it doesn't support the "must", "should" and "must_not" features of Elasticsearch_dsl.
Has anyone experienced this issue ? If so, What do you advise me to do ? To the elasticmock team : Do you manage to resolve this issue on the next release ? For now, what's the alternative ?
Would be really grateful if you could help me move forward :)
It seems that MUST and SHOULD are already implemented, but MUST_NOT* is not (See here).
It seems an easy change, afaik. Wdyt of sending a PR with that?