diff --git a/pagure/ui/filters.py b/pagure/ui/filters.py index afb865d..b4f3dee 100644 --- a/pagure/ui/filters.py +++ b/pagure/ui/filters.py @@ -284,7 +284,7 @@ def blame_loc(loc, repo, username, blame): '' '' - % ({'cnt': idx}) + % ({'cnt': idx + 1}) ) output.append( diff --git a/tests/test_pagure_flask_api_auth.py b/tests/test_pagure_flask_api_auth.py index ac9e574..64bed25 100644 --- a/tests/test_pagure_flask_api_auth.py +++ b/tests/test_pagure_flask_api_auth.py @@ -129,6 +129,10 @@ class PagureFlaskApiAuthtests(tests.Modeltests): { "error": "Invalid or incomplete input submited", "error_code": "EINVALIDREQ", + "errors": { + "issue_content": ["This field is required."], + "title": ["This field is required."] + } } )