Index: /main/waeup.cas/trunk/waeup/cas/tests/test_server.py
===================================================================
--- /main/waeup.cas/trunk/waeup/cas/tests/test_server.py	(revision 10605)
+++ /main/waeup.cas/trunk/waeup/cas/tests/test_server.py	(revision 10606)
@@ -82,4 +82,7 @@
         assert app._get_template('login.html') is not None
         assert app._get_template('not-existent.html') is None
+        # parts of header and footer are replaced
+        assert 'PART_HEADER' not in app._get_template('login.html')
+        assert 'PART_FOOTER' not in app._get_template('login.html')
 
     def test_call_root(self):
@@ -571,4 +574,7 @@
         assert get_template('not-existing-template') is None
         assert get_template('login.html') is not None
+        # parts of header and footer are replaced
+        assert 'PART_HEADER' not in get_template('login.html')
+        assert 'PART_FOOTER' not in get_template('login.html')
 
     def test_delete_session_cookie(self):
