Skip to content

Commit

Permalink
Added TODO for mongotransformer
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Mar 6, 2020
1 parent 70e9e44 commit 9bd4bcb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/filtertransformers/test_mongo.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,8 @@ def test_operators(self):
self.assertEqual(self.transform("NOT a<3"), {"a": {"$not": {"$lt": 3}}})

# TODO: {'$not': {'$eq': 'Ti'}} can be simplified to {'$ne': 'Ti'}
# TODO: THIS IS NOT A VALID MONGO QUERY!!! We should switch to $nor, but
# that may break the defined optimade operator precendence
self.assertEqual(
self.transform(
'NOT ( chemical_formula_hill = "Al" AND chemical_formula_anonymous = "A" OR '
Expand Down

0 comments on commit 9bd4bcb

Please sign in to comment.