1
0
Fork 0

* removed unused test_auth.py

* correctly handle logout
This commit is contained in:
Jan Dittberner 2008-06-05 16:31:46 +00:00
parent 55124e861f
commit ade660419c
2 changed files with 3 additions and 7 deletions

View File

@ -18,5 +18,8 @@ class LoginController(BaseController):
return render('/main.mako')
def logout(self):
return redirect_to(action = 'loggedout')
def loggedout(self):
c.messages['messages'].append('You are logged out.')
return render('/main.mako')

View File

@ -1,7 +0,0 @@
from gnuviechadminweb.tests import *
class TestAuthController(TestController):
def test_index(self):
response = self.app.get(url_for(controller='auth'))
# Test response...