Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(8)  |  Call(8)  |  Derive(0)  |  Import(0)

src/d/j/django-pipes-HEAD/tests/test_pipes.py   django-pipes(Download)
def test_pipes_debug_stats():
    # clean up stuff from previous tests
    pipes.debug_stats.reset()
    cache.delete("http://localhost:9090/book/?id=1")
 
def test_pipe_level_caching_option():
    "if the pipe-level caching option is set to False, then it should override the default value of True"
    # clean up
    pipes.debug_stats.reset()
    cache.delete("http://localhost:9090/book/?id=1")
def test_request_level_caching_option():
    "if caching is defined at request-level, it should override global default or pipe-level caching if any"
 
    # clean up stuff from previous tests
    pipes.debug_stats.reset()
def test_retries():
    "if fetching fails, should retry."
 
    pipes.debug_stats.reset()
    queries = pipes.debug_stats.queries

src/d/j/django-pipes-0.2/tests/test_pipes.py   django-pipes(Download)
def test_pipes_debug_stats():
    # clean up stuff from previous tests
    pipes.debug_stats.reset()
    cache.delete("http://localhost:9090/book/?id=1")
 
def test_pipe_level_caching_option():
    "if the pipe-level caching option is set to False, then it should override the default value of True"
    # clean up
    pipes.debug_stats.reset()
    cache.delete("http://localhost:9090/book/?id=1")
def test_request_level_caching_option():
    "if caching is defined at request-level, it should override global default or pipe-level caching if any"
 
    # clean up stuff from previous tests
    pipes.debug_stats.reset()
def test_retries():
    "if fetching fails, should retry."
 
    pipes.debug_stats.reset()
    queries = pipes.debug_stats.queries