Changeset 10601 for main/waeup.cas


Ignore:
Timestamp:
10 Sep 2013, 12:40:53 (11 years ago)
Author:
uli
Message:

Check style sheet.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.cas/trunk/waeup/cas/tests/test_server.py

    r10498 r10601  
    303303        resp = app(req)
    304304        assert resp.body == b'yes\nsomeuser\n'
     305
     306    def test_style_css(self):
     307        # we can get a custom style sheet
     308        app = CASServer()
     309        req = Request.blank('https://localhost/style.css')
     310        resp = app(req)
     311        assert resp.status == '200 OK'
     312        assert resp.content_type == 'text/css'
    305313
    306314
Note: See TracChangeset for help on using the changeset viewer.