Skip to content

[test] webcompat/issues.py needs more tests coverage  #3321

@karlcow

Description

@karlcow

coverage is missing currently

Name                                   Stmts   Miss  Cover   Missing
--------------------------------------------------------------------
webcompat/issues.py                       48      4    92%   99-104

abort(400)
elif (not proxy) and submit_type == 'github-auth-report':
# returns JSON data as a dict
json_response = github.post(path, build_formdata(form))
else:
abort(400)

Probably two steps.

the file to edit is
https://github.com/webcompat/webcompat.com/blob/master/tests/unit/test_issues.py

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions