summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* tests: Update bundled mock library to 1.0.1Jakub Stasiak2014-07-181-129/+2251
|
* wsgi: websocket: Reformat code + tests (PEP-8)Jakub Stasiak2014-07-183-225/+234
|
* Python 3 compatibility fixesJakub Stasiak2014-07-186-140/+144
| | | | | | Closes GH-102 Closes GH-103 Closes GH-104
* greenio, tpool: python3 compatibilitySergey Shepelev2014-07-181-1/+1
| | | | | | | Also: - PEP-8 - check both EAGAIN/EWOULDBLOCK - use system implementation of GreenPipe.readinto()
* tests: deprecated TestCase.assert_() -> assert keywordSergey Shepelev2014-07-1621-230/+230
| | | | https://github.com/eventlet/eventlet/issues/101
* db_pool: customizable connection cleanup function; Thanks to Avery FaySergey Shepelev2014-07-101-12/+63
| | | | | | | | | https://github.com/eventlet/eventlet/pull/64 Also: - PEP8 - except Exception - .put() must not catch SystemExit
* python3 compatibilitySergey Shepelev2014-04-2422-416/+463
| | | | | | | | | | | | - __next__ for iterator interface - six.next() to get next item - list(dict.keys()) - popen2.popen4 -> subprocess - s2b -> b"..." literals - deprecated assertEquals -> assertEqual - hub_test test_fork using run_python - 1L -> 1 long literal - many PEP-8 fixes
* python3 compatibilitySergey Shepelev2014-04-234-53/+53
| | | | | | | - dict.items().pop() in proc - str/bytes in backdoor, api_test, ssl_test, test__refcount - import httplib from six - PEP-8 fixes
* PEP-8 fixes, tox runs pep8 checkSergey Shepelev2014-04-2311-129/+158
| | | | | For now, pep8 check is only run for some files known to be clean, we should clean the rest and enable pep8 check for all files then.
* python3 compatibility: print functionSergey Shepelev2014-04-239-76/+87
|
* python3 compatibility: range, zip, StringIOViktors2014-04-234-26/+18
|
* wsgi: capitalize_response_headers optionSergey Shepelev2014-04-221-83/+118
| | | | | | | Setting this to False provides compatibility with broken clients which expect response header names in particular case, such as ETag by AWS Java SDK. https://github.com/eventlet/eventlet/issues/80
* pypy compatibilityJakub Stasiak2014-04-159-25/+61
|
* python3 compat fixesVictor Sergeyev2014-03-2815-145/+166
| | | | https://github.com/eventlet/eventlet/pull/59
* queue: Make join not wait if there are no unfinished tasksJakub Stasiak2014-03-271-0/+4
| | | | This fixes GitHub issue #54
* websockets: Test and handle lack of Upgrade headerJakub Stasiak2014-01-241-0/+15
|
* websockets: handle HTTP_CONNECTION more flexiblyJakub Stasiak2014-01-181-14/+17
| | | | This fixes GitHub issue #73
* websockets: Add websockets13 supportEdward George2014-01-011-0/+207
|
* python3 compat: remove lots of Python 2.5 and earlier dependent code; use ↵Sergey Shepelev2013-12-036-303/+282
| | | | print() function syntax
* python3 compat: print() function syntaxSergey Shepelev2013-12-0313-51/+62
|
* python3 compat: 2to3: `except E as e:` syntaxDavanum Srinivas2013-12-0313-34/+34
| | | | | | | First step to Python 3 compatibility "2to3 -w -f except ." See [1] [1] http://docs.python.org/2/library/2to3.html#fixers
* coros: remove Actor which was deprecated in 2010-01Sergey Shepelev2013-12-031-128/+0
|
* saranwrap: remove saranwrap which was deprecated in 2010-02Sergey Shepelev2013-12-031-387/+0
|
* tpool: proxy __enter__, __exit__ fixes BB-158; Thanks to Eric UrbanSergey Shepelev2013-10-021-3/+16
| | | | https://bitbucket.org/eventlet/eventlet/issue/158/eventlet-pooled-psycopg2-connections-wont
* wsgi: Allow minimum_chunk_size to be overriden on a per request basisDavid Goetz2013-09-051-0/+62
| | | | | | | | The application can set environ['eventlet.minimum_write_chunk_size'] which will override the minimum_chunk_size set on server initialization for a single request. https://bitbucket.org/eventlet/eventlet/pull-request/37/allow-minimum_chunk_size-to-be-overriden
* green.ssl: Fix NameError GH-17Jakub Stasiak2013-08-121-12/+34
| | | | https://github.com/eventlet/eventlet/issues/17
* wsgi: configurable socket_timeoutSergey Shepelev2013-08-091-0/+11
|
* tests: kill all tpool workers in LimitedTestCaseJakub Stasiak2013-08-074-73/+78
| | | | Fixes GH-41 https://github.com/eventlet/eventlet/issues/41
* wsgi: handle connection socket timeoutsPaul Oppenheim2013-07-092-1/+188
| | | | Fixes https://bitbucket.org/eventlet/eventlet/issue/143
* tests: extract run_python() utility functionSergey Shepelev2013-07-092-12/+28
| | | | Proposal is to use it for new subprocess tests where module is commited to repo
* tests: ProcessBase should call parent setUp/tearDown; Thanks to Paul OppenheimSergey Shepelev2013-07-091-12/+17
| | | | +some PEP8
* tests: skip check_idle_cpu_usage on Windows; Thanks to Paul OppenheimSergey Shepelev2013-07-091-1/+9
| | | | TODO: use psutil package which ought to work on Windows
* support: greendns: always resolve portSergey Shepelev2013-07-091-0/+13
| | | | Fixes https://bitbucket.org/eventlet/eventlet/issue/152
* wsgi: env['wsgi.input'] was returning 1 byte stringsEric Urban2013-07-091-0/+28
| | | | Fixes https://bitbucket.org/eventlet/eventlet/issue/150/env-wsgiinput-returns-a-single-byte-at-a
* hubs: get_default_hub() on Windows broken by kqueue; Thanks to Paul OppenheimSergey Shepelev2013-07-021-29/+81
| | | | | Fixes https://github.com/eventlet/eventlet/issues/38 +autopep8
* semaphore: support timeout for acquireJustin Patrin2013-06-281-2/+20
| | | | Fixes https://bitbucket.org/eventlet/eventlet/issue/147/semaphoresemaphore-should-support-a
* tests: subprocess.communicate block on Python 2.7Sergey Shepelev2013-06-131-15/+35
| | | | | https://github.com/eventlet/eventlet/pull/24 + PEP8 fix tabs
* hubs: kqueue: squashed fixesEdward George2013-06-091-0/+8
| | | | | | | | * try and recover from bad file descriptor error after fork * remove some stuff in kqueue hub that was added by accident * skip test_closure test with kqueue hub kqueue hub cannot detect closures of file descriptors * simplify _reinit_kqueue()
* green: subprocess: Popen.wait accepts new `timeout` kwargSergey Shepelev2013-06-071-0/+25
| | | | | | As in Python 3.3 http://docs.python.org/3.3/library/subprocess.html#subprocess.Popen.wait https://bitbucket.org/eventlet/eventlet/issue/89/add-a-timeout-argument-to-subprocesspopen https://bitbucket.org/eventlet/eventlet/pull-request/30
* support: do not clear sys.exc_info if can be preserved (greenlet >= 0.3.2)Edward George2013-04-161-1/+61
|
* tests: select socket pair is not writable; Thanks to Yamamoto TakashiSergey Shepelev2013-04-161-1/+7
|
* tests: Improve tox configuration and setup TravisJakub Stasiak2013-04-121-0/+1
|
* wsgi: minimum_chunk_size of last Server altered all previous (global variable)Jakub Stasiak2013-04-091-2/+10
|
* doc: fix bitbucket links after relocation to separate accountSergey Shepelev2013-04-092-3/+3
|
* tests: wsgi: close socket on error in the middle of chunked responseSergey Shepelev2013-02-221-1/+48
| | | | http://rhodesmill.org/brandon/2013/chunked-wsgi/
* greenio: Pre-cache proxied GreenSocket methods; Fixes Bitbucket #136; Thanks ↵Sergey Shepelev2013-02-011-0/+6
| | | | | | to Derk Tegeler https://bitbucket.org/which_linden/eventlet/issue/136
* greenio: socket.dup() made excess fcntl syscalls, added set_nonblocking=True ↵Sergey Shepelev2013-01-241-2/+43
| | | | | | kwarg to skip it; Thanks to Peter Portante https://bitbucket.org/which_linden/eventlet/pull-request/27
* tests: zmq: test idle CPU usage after zmq .bind(PUB)Sergey Shepelev2013-01-211-1/+39
|
* tests: zmq: support both SNDHWM and old HWM (libzmq <3.0); Thanks to Geoff ↵Sergey Shepelev2013-01-211-1/+7
| | | | Salmon
* greenio: socket.settimeout(0) then to >0 did not switch back to blocking ↵Sergey Shepelev2013-01-211-0/+23
| | | | | | mode; Thanks to Peter pskirko https://bitbucket.org/which_linden/eventlet/pull-request/15/fix-timeout-bug