Mercurial > p > roundup > code
comparison test/test_cgi.py @ 6268:bdcccd2b2141
Replace http:....roundup-tracker.org with https.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 09 Sep 2020 21:37:16 -0400 |
| parents | 15fd91fd3c4c |
| children | 58817c3bf471 |
comparison
equal
deleted
inserted
replaced
| 6267:7b6a02611a77 | 6268:bdcccd2b2141 |
|---|---|
| 1160 cl.write = wh # capture output | 1160 cl.write = wh # capture output |
| 1161 | 1161 |
| 1162 # Should return explanation because content type is text/plain | 1162 # Should return explanation because content type is text/plain |
| 1163 # and not text/xml | 1163 # and not text/xml |
| 1164 cl.handle_xmlrpc() | 1164 cl.handle_xmlrpc() |
| 1166 del(out[0]) | 1166 del(out[0]) |
| 1167 | 1167 |
| 1168 # Should return admin user indicating auth works and | 1168 # Should return admin user indicating auth works and |
| 1169 # header checks succeed (REFERER and X-REQUESTED-WITH) | 1169 # header checks succeed (REFERER and X-REQUESTED-WITH) |
| 1170 cl.env['CONTENT_TYPE'] = "text/xml" | 1170 cl.env['CONTENT_TYPE'] = "text/xml" |
