def test_only_cache_purviews_if_configured(): c = cache.PurviewCache() c.set(c.key('past', (0, )), ('some purview')) assert c.size() == 0
def test_only_cache_purviews_if_configured(): c = cache.PurviewCache() c.set(c.key(Direction.CAUSE, (0, )), ('some purview')) assert c.size() == 0