Compare raw API payloads to byte strings during API testing.

Review Request #10468 — Created March 27, 2019 and submitted

chipx86
Djblets
release-1.0.x
djblets

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.

Summary
Compare raw API payloads to byte strings during API testing.
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-2.0.x (1b37eea)
Loading...