Changeset 10326
- Timestamp:
- 20 Jun 2013, 22:31:55 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.cas/trunk/waeup/cas/tests/test_server.py
r10322 r10326 29 29 30 30 def test_call_root(self): 31 # the CAS protocol requires no root 31 32 app = CASServer() 32 33 req = Request.blank('http://localhost/') 33 34 resp = app(req) 34 35 assert resp.status == '404 Not Found' 36 37 def test_first_time_login(self): 38 # we can get a login page 39 app = CASServer() 40 req = Request.blank('http://localhost/login') 41 resp = app(req) 42 assert resp.status == '200 OK' 43 44 def test_validate(self): 45 # we can access a validation page 46 app = CASServer() 47 req = Request.blank('http://localhost/validate') 48 resp = app(req) 49 assert resp.status == '501 Not Implemented' 50 51 def test_logout(self): 52 # we can access a logout page 53 app = CASServer() 54 req = Request.blank('http://localhost/logout') 55 resp = app(req) 56 assert resp.status == '501 Not Implemented'
Note: See TracChangeset for help on using the changeset viewer.