parent
55124e861f
commit
ade660419c
|
@ -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')
|
||||
|
|
|
@ -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…
Reference in New Issue