Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add python unit tests for form.py #1587

Closed
cch5ng opened this issue Jun 8, 2017 · 1 comment
Closed

add python unit tests for form.py #1587

cch5ng opened this issue Jun 8, 2017 · 1 comment

Comments

@cch5ng
Copy link
Contributor

cch5ng commented Jun 8, 2017

some existing functions in form.py are missing unit tests.

should affect https://github.com/webcompat/webcompat.com/blob/master/tests/test_form.py

@karlcow
Copy link
Member

karlcow commented Jun 8, 2017

Thanks a lot @cch5ng.

karlcow added a commit to karlcow/webcompat.com that referenced this issue Jun 22, 2017
karlcow added a commit to karlcow/webcompat.com that referenced this issue Jun 22, 2017
Also makes get_problem_summary() more explicit with  description and
comments.
karlcow added a commit to karlcow/webcompat.com that referenced this issue Jun 22, 2017
karlcow added a commit to karlcow/webcompat.com that referenced this issue Jun 22, 2017
Before if by chance in the process we hap an empty url, the code would
fall apart and probably break with a 500. This will not happen anymore.
miketaylr pushed a commit that referenced this issue Jul 7, 2017
miketaylr pushed a commit that referenced this issue Jul 7, 2017
Also makes get_problem_summary() more explicit with  description and
comments.
miketaylr pushed a commit that referenced this issue Jul 7, 2017
Before if by chance in the process we hap an empty url, the code would
fall apart and probably break with a 500. This will not happen anymore.
miketaylr pushed a commit that referenced this issue Jul 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants