Show
Ignore:
Timestamp:
03/27/08 16:59:44 (2 years ago)
Author:
JensDiemer
Message:

add a experimental new cache middleware
-merge pagestats into cache middleware
-add unitest for the cache
-move setup_debug() from the views into the common middleware
-update other tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/pylucid/tests/plugin_main_menu.py

    r1454 r1510  
    3636        Page.objects.all().delete() # Delete all existins pages 
    3737 
    38         self.template = tests.create_template("{% lucidTag main_menu %}") 
     38        self.template = tests.create_template( 
     39            content = "{% lucidTag main_menu %}" 
     40        ) 
    3941 
    4042        tests.create_pages(tests.TEST_PAGES, template=self.template) 
     
    9799        Page.objects.all().delete() # Delete all existins pages 
    98100 
    99         self.template = tests.create_template("{% lucidTag main_menu %}") 
     101        self.template = tests.create_template( 
     102            content = "{% lucidTag main_menu %}" 
     103        ) 
    100104 
    101105    def test_base(self):