Commit 8edf896f authored by Valentin Samir's avatar Valentin Samir
Browse files

Remove some duplicate from tests code, full coverage for prowy view

parent 97a15f74
This diff is collapsed.
......@@ -864,7 +864,7 @@ class Proxy(View):
except (models.BadUsername, models.BadFilter, models.UserFieldNotDefined):
raise ValidateError(
'%s not allowed on %s' % (ticket.user, self.target_service)
'User %s not allowed on %s' % (ticket.user.username, self.target_service)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment