7 lines
261 B
Python
7 lines
261 B
Python
from imagefind.indexer import Indexer
|
|
|
|
|
|
def test_text_replacement_uses_portable_fixed_predicates():
|
|
assert Indexer._replaceable_text_condition(audio_stale=True) == ""
|
|
assert Indexer._replaceable_text_condition(audio_stale=False) == " AND kind<>'audio'"
|