Rather than patching render and using the test client, how about we 
```python
from lib.l10nutils.dotlang import get_lang_path, get_translations
```
at the top, and then replace lines 41-49 here with just:
```python
        urls[url] = get_translations(get_lang_path(url)).keys()
```