replace undefined variable in webapp-django tests with a defined var