Anorov/PySocks

Tests don't work with test_server 0.0.31

rapgro opened this issue · 1 comments

API of test_server changed with 0.0.31 compared to 0.0.30, there's a decision to replace tornado with bottle as the backend. Please remove the parameter engine from the constructor call.

engine='subprocess')

lorien/test_server@5465db0#diff-c5ce133e5ada690e691b433ea45f0519

This is not the only change necessary. Apparently a number of tests fail with 0.0.30+:

test/test_pysocks.py:115: in assert_proxy_response
    self.assertEqual(content, resp_body)
E   AssertionError: b'zzz' != b'3\r\nzzz\r\n0'

and alike.