Fix test model get_absolute_url
Fix error signaled by pyflakes