- Bugs:
Add test: Expect 404 on invalid review access.
Review Request #3761 — Created Jan. 19, 2013 and submitted
Add test: Expect 404 on invalid review access. In particular, test if accessing the screenshots of a nonexistent review id fails. Fixes #2551.
Test passes with http://reviews.reviewboard.org/r/3767 applied.
Description | From | Last Updated | ||
---|---|---|---|---|
Lots of resources can throw these exceptions. I think it's okay not to add this comment, as now, that's just … |
|
|||
Can you make sure to follow the other unit test docstring structures for this? Should be like: """Testing the GET … |
|
|||
Col: 80 E501 line too long (101 > 79 characters) |
![]() |
|||
There are no open issues |
-
-
Lots of resources can throw these exceptions. I think it's okay not to add this comment, as now, that's just part of the API as documented.
-
Can you make sure to follow the other unit test docstring structures for this? Should be like: """Testing the GET review-requests/<id>/screenshots/ API with an invalid review request ID""" Also, this needs to be one line. (Unit test docstrings are the one place that's okay to have over 80 chars in length)