===============
No Current Term
===============

If a schooltool operation relies on there being at least one term set up, and
the administator has not gotten around to doing that, we need to fail
gracefully.  That means giving the user an error message rather than crashing.

Let's log in as manager and create a student.

    >>> from schooltool.basicperson.browser.ftests import setup
    >>> manager = Browser('manager', 'schooltool')
    >>> setup.addPerson('Student', 'One', 'student1', 'pwd')

We'll navigate to the student and hit the Intervention Center button.  Since
there is no current schoolyear, we'll redirect to the no current term view.

    >>> manager.getLink('Manage').click()
    >>> manager.getLink('Persons').click()
    >>> manager.getLink('One').click()
    >>> manager.getLink('Intervention Center').click()
    >>> manager.url
    'http://localhost/no_current_term.html'

