[issue17355] http tests testing more than the error code are fragile

2013-03-05 Thread R. David Murray
R. David Murray added the comment: We are testing our http server. It is not obviously inappropriate to test the full string. Especially in the Line to Long case, where we are testing that our specific error message is produced. If you wish to argue that we should emit the standard message

[issue17355] http tests testing more than the error code are fragile

2013-03-05 Thread karl
Changes by karl : -- components: +Library (Lib), Tests ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://m

[issue17355] http tests testing more than the error code are fragile

2013-03-05 Thread karl
New submission from karl: Some of the tests of the HTTP Test suite are checking for the full status-line, instead of just the error code. Why is it an issue? 1. The only mandatory part in the status-line is the error code. The phrase is optional. For example the response is made of 3 parts.