Commit Graph

34 Commits

Author SHA1 Message Date
AllSeeingEyeTolledEweSew cbb4f0277e Make tests and tools python3 compatible. 2020-05-13 00:17:37 +02:00
arvidn 88d9c05e3c expand IPv4 in expand_unspecified_address 2020-01-19 08:27:33 +01:00
Arvid Norberg 76f53297a9 update appveyor image and boost version. explicitly use python2 for test scripts (as the SSL behavior has changed in python 3 in non-trivial ways) 2019-11-19 01:46:39 +01:00
Arvid Norberg f40ecac4dd improve testing on appveyor. revert appveyor image 2019-08-06 21:55:47 -07:00
arvidn c57b3be4cc more lgtm fixes 2018-10-20 16:30:06 +02:00
Andrew Resch 596d98cac4 Clean-up python code (#3075)
lint and enforce python code formatting
2018-06-12 11:43:13 +02:00
Steven Siloti a693565df0 hack to get test_stop_tracker_timeout working 2017-04-30 08:11:56 -04:00
arvidn efe32c6a0e rewrite most of web_peer_connection::on_receive to make it a lot simpler and fix edge cases with pad-files 2016-01-28 01:58:33 -05:00
arvidn 0f760d3fb4 expand tracker unit test to assert the session correctly receives the right peers 2015-08-29 16:04:35 -04:00
arvidn 94e41538b6 fix SSL web-seed test 2015-07-16 00:44:03 -04:00
Chocobo1 a59d1d3240 Add/fix shebang in python scripts, add execute permission (linux), remove whitespace/tabs at end of line 2015-07-12 14:24:01 +08:00
arvidn 82bb923096 fix python typo 2015-07-08 00:05:13 -04:00
arvidn c5614b691f export file_progress class when building unit tests. fix to web_server.py (used for unit tests) 2015-07-07 23:46:33 -04:00
arvidn 08016494a9 split up test_http_connection into smaller test cases 2015-06-21 12:41:50 -04:00
Arvid Norberg 1b9b6f7292 support http basic auth in http_connection passed in from the outside as opposed to part of the url 2015-02-08 16:03:09 +00:00
Arvid Norberg b56b3613fe some debug output in web_server.py 2015-01-11 07:45:06 +00:00
Arvid Norberg 7761cba38a fix web_seed unit test 2015-01-09 14:02:48 +00:00
Arvid Norberg 2eab21b0ac attempted fixes for windows unit tests 2015-01-09 00:41:19 +00:00
Arvid Norberg c2e5df57b5 extend http_connection unit test to cover no keep-alive 2015-01-05 16:17:23 +00:00
Arvid Norberg 290260054d fix http restart-piece bug whose fix apparently failed to merge from RC_1_0 a long time ago. Also improve logging of restart pieces 2015-01-03 13:09:09 +00:00
Arvid Norberg 2b7bef0f7b fix support for web servers not supporting keepalive 2014-06-15 18:02:59 +00:00
Arvid Norberg 6c22d426d4 make all unit tests pass msvc's /RTCc instrumentation (no implicit integer truncation in casts) 2014-02-05 09:38:32 +00:00
Arvid Norberg ad635c7081 we're not always supposed to gzip test_file in web_server.py (unit test) 2014-01-22 04:05:23 +00:00
Arvid Norberg 8bf283c7fe fix test_http_connection for windows 2014-01-22 02:59:09 +00:00
Arvid Norberg 41693bfa97 fix windows support in web_server.py for unit tests 2014-01-21 09:34:51 +00:00
Arvid Norberg 65a847fd43 open files in binary mode in unit test web server (may fix some issues on windows) 2014-01-21 00:04:52 +00:00
Arvid Norberg 3c5ec23480 add timeout to web_server.py for unit tests (it doesn't seem to die on windows otherwise) 2013-11-06 04:05:13 +00:00
Arvid Norberg ec87fb2968 don't try to close connections in web_server.py (to may cause exceptions when using ssl) 2013-11-05 00:25:49 +00:00
Arvid Norberg 5d149e2d0a fix web_seed_chunked test 2013-11-04 21:08:19 +00:00
Arvid Norberg c147caca0d fix ssl issue in web_server.py 2013-11-04 10:06:14 +00:00
Arvid Norberg 5fcd1237f0 fix race condition of closing http socket in web_server.py 2013-11-04 05:48:40 +00:00
Arvid Norberg 2ce6b83a8e restore web_server.py 2013-11-04 01:35:57 +00:00
Arvid Norberg 236acfce27 merged completed-on fix from RC_0_16 2013-11-04 01:32:16 +00:00
Arvid Norberg b4aad2a481 move web_server for unit tests over to python 2013-11-03 08:15:51 +00:00