Compare HTTP responses against byte strings.
Review Request #10479 — Created March 31, 2019 and submitted
HttpResponse.contentis a byte string, and we have a lot of tests
comparing these against Unicode strings. In Python 2, that's not a big
deal, but Python 3 heavily distinguishes between the two.
This change updates all comparisons to check only against byte strings.
Unit tests pass on Python 2.7 and 3.5-3.7 (with other in-progress
E501 line too long (80 > 79 characters)
Fixed a line length issue.
Revision 2 (+46 -44)
Checks run (2 succeeded)