diff --git a/gnuviechadminweb/controllers/login.py b/gnuviechadminweb/controllers/login.py index f8163fb..4001500 100644 --- a/gnuviechadminweb/controllers/login.py +++ b/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') diff --git a/gnuviechadminweb/tests/functional/test_auth.py b/gnuviechadminweb/tests/functional/test_auth.py deleted file mode 100644 index 4685fb4..0000000 --- a/gnuviechadminweb/tests/functional/test_auth.py +++ /dev/null @@ -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...