summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Improve Python 3 compat: greenio testsJakub Stasiak2014-11-021-6/+6
|
* Remove rather useless codeJakub Stasiak2014-11-021-37/+2
|
* More websocket Python 3 compatJakub Stasiak2014-11-021-59/+60
|
* Improve Python 3 compat: WSGI and tests (WIP)Jakub Stasiak2014-11-021-10/+21
|
* Improve Python 3 compat: WSGI testsJakub Stasiak2014-10-311-2/+2
|
* hubs: drop Twisted supportSergey Shepelev2014-10-295-304/+2
|
* Fix "maximum recursion depth exceeded in GreenSocket.__del__"Jakub Stasiak2014-10-161-1/+19
| | | | | Closes #137 Closes #148
* Refactor capturing stderr into a context managerJakub Stasiak2014-10-152-19/+9
|
* Python 3 compat: Improve subprocess, WSGI and testsJakub Stasiak2014-10-132-41/+35
|
* Python 3 compat: Improve SSL and WSGI compatJakub Stasiak2014-10-111-10/+10
|
* Reformat with autopep8Jakub Stasiak2014-10-117-33/+37
|
* Python 3 compat: Improve various bitsJakub Stasiak2014-10-1010-166/+191
| | | | | | | | | | | | | | | | | | This includes changes to WSGI, websocket, bytes/str/unicode handling, SSL, backdoor, greenio and tests. Some comments and conditionals (PY2/PY3) were added for clarity GH issues: Closes #106 Closes #111 Closes #118 Closes #141 Incidentally should also close #135 (reopen if didn't) cc #6
* Remove most of the deprecated codeJakub Stasiak2014-10-1010-1151/+52
| | | | Closes GH #144
* green.socket: create_connection: UnboundLocalError on Python3gh-123-local-msgSergey Shepelev2014-09-051-0/+8
| | | | Fixes https://github.com/eventlet/eventlet/issues/123
* greenio: manual memory leak testSergey Shepelev2014-09-012-0/+83
| | | | https://github.com/eventlet/eventlet/pull/125
* wsgi: pep8 fixesTushar Gohad2014-08-271-38/+44
| | | | Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* PEP-8 fixesSergey Shepelev2014-08-2752-362/+412
|
* wsgi: Support optional headers w/ "100 Continue" responsesTushar Gohad2014-08-241-0/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since WSGI is all about a single response to a single request, in order for servers to process a PUT as a single HTTP request and at the same time pass **hints** back to the client (for example, a payload type that the server can accept, or to inform the client that the server expects to receive payload metadata at the end of the payload transfer, etc), "100 Continue" response headers is pretty much only place to add these hints. This is consistent with **RFC2616, section 10.1**: 10.1 Informational 1xx This class of status code indicates a provisional response, consisting only of the **Status-Line** and **optional headers**, and is terminated by an empty line. Openstack Swift has an immediate use case for this feature where the object server will use an "Accept-Payload-Footer: 1" like header to hint the proxy server to send a payload footer after it has finished transmitting the payload (for sending metadata for an erasure coded or encrypted payload, enforcing end-to-end Etag checks, etc). Addresses eventlet issue/enhancement #126 Signed-off-by: Tushar Gohad <tushar.gohad@intel.com>
* 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