Browse Source

* removed unused test_auth.py

* correctly handle logout
master
Jan Dittberner 13 years ago
parent
commit
ade660419c
  1. 3
      gnuviechadminweb/controllers/login.py
  2. 7
      gnuviechadminweb/tests/functional/test_auth.py

3
gnuviechadminweb/controllers/login.py

@ -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')

7
gnuviechadminweb/tests/functional/test_auth.py

@ -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...
Loading…
Cancel
Save