Show
Ignore:
Timestamp:
07/29/08 14:33:43 (20 months ago)
Author:
JensDiemer
Message:

* merge some redirect code together
* work-a-round for restricted plugin method and settings.TEMPLATE_DEBUG is on.
* add a unittest for this.

Files:
1 modified

Legend:

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

    r1706 r1725  
    7979        """ 
    8080        self.response.write("Hello world!") 
     81 
     82    def test_restricted_method(self): 
     83        """ 
     84        TODO: Must be update if ticket:199 is implemented! 
     85        ticket: "change plugin_manager_data (must_login and must_admin)" 
     86        """ 
     87        self.response.write("<pre>This is restricted!</pre>") 
    8188 
    8289    def test_attributes(self, attr_name):