Compare raw API payloads to byte strings during API testing.
Review Request #10468 — Created March 27, 2019 and submitted
HTTP response data is represented as byte strings, and on Python 2 we
were able to compare to either bytes or Unicode without problems, but
this isn't the case with Python 3. Our API testing helpers were
incorrectly comparing to Unicode prior to this change.
Djblets and Review Board unit tests pass.