Update menu.py

Tests bring into line with pull request #2632
https://github.com/divio/django-cms/pull/2632