Konstantin Lopuhin
|
4946434582
|
revert most changes to this test, and clarify - it is valid only on py2, because urls are strictly unicode on py3
|
2016-01-18 15:23:01 +03:00 |
|
Konstantin Lopuhin
|
a2efd389b0
|
clarify: rename r_transform to response_transform
|
2016-01-18 15:09:54 +03:00 |
|
Konstantin Lopuhin
|
673df5e416
|
add webclient test - check that non-standart body encoding matches Content-Encoding header
|
2016-01-18 11:44:49 +03:00 |
|
Konstantin Lopuhin
|
5c2241ccc7
|
py3: fix webclient tests after making ScrapyHTTPClientFactory use bytes as in twisted
|
2016-01-14 15:30:28 +03:00 |
|
Konstantin Lopuhin
|
0178356178
|
py3 fix testRedirect: url is bytes here
|
2016-01-14 13:46:46 +03:00 |
|
Konstantin Lopuhin
|
30c7b4e4cc
|
py3 compat in test_timeoutTriggering cleanup
|
2016-01-14 13:44:14 +03:00 |
|
Konstantin Lopuhin
|
88f55312af
|
py3 fix in testFactoryInfo - factory attirbutes are bytes in twisted
|
2016-01-14 13:43:37 +03:00 |
|
Konstantin Lopuhin
|
b5f9bc8499
|
py3 test fixes in test_webclient - expect bytes as page body
|
2016-01-14 13:04:45 +03:00 |
|
Konstantin Lopuhin
|
ae4aa2c3b2
|
py3 test fix: putChild expects bytes as path
|
2016-01-14 13:04:10 +03:00 |
|
Konstantin Lopuhin
|
325b6af6c2
|
fix ScrapyHTTPPageGetterTests for py3 - we expect bytes here
|
2016-01-14 12:29:59 +03:00 |
|
Konstantin Lopuhin
|
945674eb8f
|
pass test_externalUnicodeInterference - the logic for py3 is clearly inverse of what was expected in this test, as scrapy Request url must be unicode
|
2016-01-14 12:25:54 +03:00 |
|
Konstantin Lopuhin
|
1d5ab67183
|
pass test_getPageHead on py3
|
2016-01-14 12:04:26 +03:00 |
|
Konstantin Lopuhin
|
9f2be23a39
|
webclient tests, py3: fix setUp, pass test_getPage
|
2016-01-14 11:42:23 +03:00 |
|
drack3800
|
1b6d5a011a
|
Added webclient test for checking Content-Length header in response for POST request with no given body
|
2015-03-21 04:02:51 +03:00 |
|
Daniel Graña
|
242c08553f
|
move tests under root dir
|
2014-07-30 19:45:08 -03:00 |
|