Changeset 10335 for main/waeup.cas/trunk/waeup/cas/tests
- Timestamp:
- 21 Jun 2013, 23:39:57 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.cas/trunk/waeup/cas/tests/test_server.py
r10326 r10335 55 55 resp = app(req) 56 56 assert resp.status == '501 Not Implemented' 57 58 def test_login_simple(self): 59 # a simple login with no service will result in login screen 60 # (2.1.1#service of protocol specs) 61 app = CASServer() 62 req = Request.blank('http://localhost/login') 63 resp = app(req) 64 assert resp.status == '200 OK' 65 assert resp.content_type == 'text/html' 66 assert b'<form ' in resp.body
Note: See TracChangeset for help on using the changeset viewer.