divio/django-cms — pull request #1336 by yakky (2012-07-04 05:52:31+00:00)
Title: Test case that demostrate #1335, and another reverse-related issue

Relates to #1335
This MUST be executed standalone or before any other test (that's the reason for the strange testcase name and test names) as it needs a "clean" environment to demonstrate the issue.
In fact we have a double issue:
* non-root CMS urlconf is not mapped correctly at tests start: reverse('pages-root') doesn't return '/content/' (in this testcase) as it should
* whenever a Client.get() is made to a non-existing URL, CMS urlconf is fixed and reverse() correctly maps to CMS URLs