'Test that when we have a TPA provider which as an explicit maximum
session length set, waiting for longer than that between requests
results in us being logged out.'

def test_login_with_testshib_provider_short_session_length(self):

    self._configure_testshib_provider(max_session_length=10)
    now = datetime.datetime.utcnow()
    with freeze_time(now):
        super(TestShibIntegrationTest, self).test_login()
    later = (now + datetime.timedelta(seconds=30))
    with freeze_time(later):
        self._test_return_login(previous_session_timed_out=True)
