'Test case where a invalid max age is passed.'

def test_max_age_invalid_str(self):

    morsel = Morsel()
    morsel['max-age'] = 'woops'
    with pytest.raises(TypeError):
        morsel_to_cookie(morsel)
