[Checkins] SVN: megrok.login/trunk/src/megrok/login/tests/ remove obsolete z3c.testsetup markers
Jan-Wijbrand Kolman
janwijbrand at gmail.com
Wed May 25 10:27:47 EDT 2011
Log message for revision 121800:
remove obsolete z3c.testsetup markers
Changed:
U megrok.login/trunk/src/megrok/login/tests/autoregister.py
U megrok.login/trunk/src/megrok/login/tests/customlogin.py
U megrok.login/trunk/src/megrok/login/tests/simple.py
U megrok.login/trunk/src/megrok/login/tests/strict.py
U megrok.login/trunk/src/megrok/login/tests/unset.py
-=-
Modified: megrok.login/trunk/src/megrok/login/tests/autoregister.py
===================================================================
--- megrok.login/trunk/src/megrok/login/tests/autoregister.py 2011-05-25 14:25:00 UTC (rev 121799)
+++ megrok.login/trunk/src/megrok/login/tests/autoregister.py 2011-05-25 14:27:47 UTC (rev 121800)
@@ -2,8 +2,6 @@
How to setup auto registering authentication
********************************************
-:Test-Layer: functional
-
When (beside `megrok.login.enable()`, which is always necessary), the
`megrok.login.autoregister()` directive is used, then all credentials
that contain a new username are automatically registered and accepted
Modified: megrok.login/trunk/src/megrok/login/tests/customlogin.py
===================================================================
--- megrok.login/trunk/src/megrok/login/tests/customlogin.py 2011-05-25 14:25:00 UTC (rev 121799)
+++ megrok.login/trunk/src/megrok/login/tests/customlogin.py 2011-05-25 14:27:47 UTC (rev 121800)
@@ -2,8 +2,6 @@
How to setup a customized login page
************************************
-:Test-Layer: functional
-
Using the `megrok.login.viewname` directive, you can specify your own
login page. If you do not use it, a default page is used.
Modified: megrok.login/trunk/src/megrok/login/tests/simple.py
===================================================================
--- megrok.login/trunk/src/megrok/login/tests/simple.py 2011-05-25 14:25:00 UTC (rev 121799)
+++ megrok.login/trunk/src/megrok/login/tests/simple.py 2011-05-25 14:27:47 UTC (rev 121800)
@@ -2,8 +2,6 @@
How to enable session based authentication
******************************************
-:Test-Layer: functional
-
If the `megrok.login.enable` directive is used, we get a login page
when trying to access a protected view.
Modified: megrok.login/trunk/src/megrok/login/tests/strict.py
===================================================================
--- megrok.login/trunk/src/megrok/login/tests/strict.py 2011-05-25 14:25:00 UTC (rev 121799)
+++ megrok.login/trunk/src/megrok/login/tests/strict.py 2011-05-25 14:27:47 UTC (rev 121800)
@@ -3,8 +3,6 @@
How to disable authentication of internal principals
****************************************************
-:Test-Layer: functional
-
If we want to disable 'default' principals (users) defined in
``site.zcml`` or similar from logging in, we can use
``megrok.login.strict()``. This marker directive takes care, so that
Modified: megrok.login/trunk/src/megrok/login/tests/unset.py
===================================================================
--- megrok.login/trunk/src/megrok/login/tests/unset.py 2011-05-25 14:25:00 UTC (rev 121799)
+++ megrok.login/trunk/src/megrok/login/tests/unset.py 2011-05-25 14:27:47 UTC (rev 121800)
@@ -1,7 +1,5 @@
"""
-:Test-Layer: functional
-
If the `megrok.login.enable` directive is not used, we get the
standard behaviour, a HTTP error: 401 Unauthorized when trying to
access a protected view.
More information about the checkins
mailing list