Module Expr Str ImportFrom alias Assign NameStore ListLoad Str ClassDef bases AttributeLoad NameLoad attr body Assign NameStore AttributeLoad NameLoad attr Assign NameStore TupleLoad Str Str Str Str Str Str Str Str Str FunctionDef arguments args NameParam defaults body Expr Str With Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str With Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list decorator_list
N/A N/A Tests for the QueryCache functionality of johnny. N/A base N/A __all__ N/A MiddlewaresTestCase MiddlewaresTestCase N/A N/A base TransactionJohnnyWebTestCase N/A N/A fixtures N/A base johnny_fixtures N/A middlewares N/A johnny.middleware.LocalStoreClearMiddleware johnny.middleware.QueryCacheMiddleware django.middleware.common.CommonMiddleware django.contrib.sessions.middleware.SessionMiddleware django.contrib.auth.middleware.AuthenticationMiddleware django.contrib.messages.middleware.MessageMiddleware django.middleware.locale.LocaleMiddleware django.middleware.gzip.GZipMiddleware django.middleware.http.ConditionalGetMiddleware test_queries_from_templates N/A N/A self N/A N/A N/A Verify that doing the same request w/o a db write twice does not
        populate the cache properly. N/A N/A N/A self assertNumQueries 1 N/A N/A N/A N/A N/A self client get /test/template_queries N/A N/A N/A self assertNumQueries 0 N/A N/A N/A N/A N/A self client get /test/template_queries N/A N/A