MCPcopy
hub / github.com/msiemens/tinydb / test_ne

Function test_ne

tests/test_queries.py:65–75  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

63
64
65def test_ne():
66 query = Query().value != 1
67 assert query({'value': 0})
68 assert query({'value': 2})
69 assert not query({'value': 1})
70 assert hash(query)
71
72 query = Query().value != [0, 1]
73 assert query({'value': [0, 1, 2]})
74 assert not query({'value': [0, 1]})
75 assert hash(query)
76
77
78def test_lt():

Callers

nothing calls this directly

Calls 1

QueryClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…