This may also enable you to rewrite your tests so that they use a resolver:

```python
from django.core.urlresolvers import get_resolver
resolver = get_resolver(generate_routes(configuration))
resolver.resolve('/some/path/')
```