

def test_bypass_in_process_cache_for_account_entities(testbed):
    context = ndb.get_context()
    assert (context.get_cache_policy() == context.default_cache_policy)
    snippets.bypass_in_process_cache_for_account_entities()
    assert (context.get_cache_policy() != context.default_cache_policy)

dataset/ETHPy150Open GoogleCloudPlatform/python-docs-samples/appengine/ndb/cache/snippets_test.py test_bypass_in_process_cache_for_account_entities/original