Skip to content
Myr

Fixing test to ensure it passes with python 3.

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Vinod Chandru · committed by Vinod Chandru · parent 20b10ae · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:test_requests.py+1 added-1 removed
260 unmodified lines
261 files={'file1': ('test_requests.py', open(__file__, 'rb')),262 'file2': ('test_requests', open(__file__, 'rb'),263 'text/py-content-type')})264 self.assertEqual(r.status_code, 200)265 self.assertTrue("text/py-content-type" in r.request.body)265 self.assertTrue(b"text/py-content-type" in r.request.body)266267268if __name__ == '__main__':269 unittest.main()