Ignore:
Timestamp:
5 Jul 2013, 09:45:20 (11 years ago)
Author:
uli
Message:

Bring coverage back to 100%.

File:
1 edited

Legend:

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

    r10402 r10404  
    1212    CASServer, create_service_ticket, create_login_ticket,
    1313    create_tgc_value, check_login_ticket, set_session_cookie,
    14     check_session_cookie,
     14    check_session_cookie, get_template,
    1515    )
    1616
     
    311311        value2 = value.encode('utf-8')
    312312        assert check_session_cookie(db, value2) == tgc
     313
     314    def test_get_template(self):
     315        # we can load templates
     316        assert get_template('not-existing-template') is None
     317        assert get_template('login.html') is not None
Note: See TracChangeset for help on using the changeset viewer.