summaryrefslogtreecommitdiff
path: root/websocket/tests
Commit message (Collapse)AuthorAgeFilesLines
* PEP8 style compliance fixesengn33r2021-05-045-28/+8
|
* Comment out abnf test_mask for Python 2.7 supportengn33r2021-03-291-4/+6
|
* Improve _core.py test coverageengn33r2021-03-292-29/+20
|
* Improve _abnf.py test coverageengn33r2021-03-291-0/+83
|
* Add unit test for PR #627engn33r2021-03-292-0/+10
|
* Improve _app.py code coverageengn33r2021-03-282-74/+142
|
* Fix test_http.py import errorengn33r2021-03-281-1/+5
|
* Improve _http.py code coverageengn33r2021-03-281-0/+108
|
* Match no proxy on domain and * (#671)Codeglitches2021-03-222-180/+309
| | | | | | | | | * Extract url test methods and classes to separate test module * Fix: Restore no_proxy environment variable after tests * Fix: is_address_in_network does not pass simple unittests * Match no_proxy on * and domains
* Replace TravisCI with GitHub Actionsengn33r2021-02-271-2/+2
|
* Replace deprecated assertEquals() with assertEqual()engn33r2021-02-272-21/+21
| | | | | | The plural 'assertEquals()' is deprecated in Python 3 and triggers a warning during CI: https://docs.python.org/3/library/unittest.html#deprecated-aliases
* Fix #526 by reverting invalid BSD license migration in commit e94ed9e to ↵engn33r2021-02-222-0/+48
| | | | return to LGPL2.1
* Merge pull request #647 from seratch/fix-build-failureengn33r2021-01-261-2/+2
|\ | | | | Fix failing TravisCI builds
| * Fix the failing tests (testIter, testNext)Kazuhiro Sera2020-11-271-2/+2
| |
* | Fix None.lower() when sec-websocket-protocol response header does not existanuragbeniwal2020-05-081-0/+2
|/ | | | Fix for https://github.com/websocket-client/websocket-client/issues/516
* Don't retry sockets with timeout set to 0Trygve Aaberge2019-03-201-0/+3
| | | | | | | | | | | | | | | | For non-blocking sockets with the timeout set to 0, the select call in _recv and _send will return immediately without the socket being ready. This causes _recv to return None, which makes recv close the connection. Since a select with a timeout of 0 right after recv/send is pointless, just skip _recv and _send when timeout is 0. As for the handling of SSLWantReadError, SSLWantWriteError, EAGAIN and EWOULDBLOCK in _recv/_send, websocket-client can't handle these without blocking. Since applications which has timeout set to 0 don't want websocket-client to block them, they have to handle those errors themselves. Fixes #535
* revert #442v0.51.0liris2018-08-191-22/+0
|
* fixed Attribute error on close appliris2018-08-141-1/+1
|
* Patch WebSocketApp class to make it inheritableAndrey Bashlakov2018-06-181-2/+24
|
* remove some test assertHiroki Ohtani2018-05-271-4/+4
|
* Added status message when HTTP can't be upgraded to WSDmitry Mottl2018-02-141-1/+1
|
* fixed #386Hiroki Ohtani2018-02-091-4/+6
|
* pass ssl testliris2017-06-231-1/+1
|
* 0.44.0v0.44.0liris2017-06-231-1/+1
|
* Implement simple cookie jartifayuki2016-12-211-0/+98
|
* fixed #264liris2016-12-021-1/+1
|
* _url: Added subnet IP address matching in no_proxy host detectionMiacz2016-09-201-2/+5
|
* wsdump, test_fuzzingclient, websocket.*, test_websocket: Organise importsAllan Lewis2016-04-271-19/+18
| | | | | | | | | | | | | | Previously, because of the multiple instances of `from foo import *`, names were imported from modules that had themselves imported them, instead of from the place of definition. This commit therefore does the following: - Declares `__all__` in every module that imports anything, so that `from foo import *` is sane. - Sorts the imports based on conventions, similar to the output of `isort`. - Places all conditional imports after unconditional imports, except where that isn't valid. - Imports local names from the modules where they are defined, except when importing the package itself.
* _core, test_websocket: Remove unused localsAllan Lewis2016-04-271-7/+7
|
* test_websocket: Remove unnecessary backslashesAllan Lewis2016-04-271-3/+3
|
* test_websocket: [Cleanup] Remove unused importsAllan Lewis2016-04-271-2/+0
|
* test_websocket: [Cleanup] Correct typoAllan Lewis2016-04-271-3/+3
|
* Using os.urandom() and constant-time hash check for handshake. Fixes #209 #210Predrag Gruevski2015-09-211-4/+4
|
* fixed #179liris2015-05-071-1/+7
| | | | pass all tests on pypy3 2.4.0
* Add travis buildsJohn Vandenberg2015-05-051-2/+1
|
* Add `__iter__`, `__next__`, and `next` methods to WebSocket, allowing them ↵Stuart Axel Owen2015-04-201-0/+13
| | | | to be iterated over. This means you can slice, map, filter, etc, websockets without having to roll your own generator each time.
* enable ssl testv0.29.0liris2015-04-011-1/+1
|
* refactoring. continuous status is packed into frame_bufferliris2015-03-251-3/+3
|
* fixed #160 and some refactoringliris2015-03-251-10/+10
|
* fixed #158liris2015-03-241-0/+5
|
* refactoring.Hiroki Ohtani2015-03-191-18/+17
|
* tiny refactoringHiroki Ohtani2015-03-161-6/+5
|
* refactoring.liris2015-03-131-0/+1
|
* refactoring.,,liris2015-03-131-40/+40
|
* :qliris2015-03-031-2/+1
|
* fixed #141 - we skip some test case.liris2015-02-121-8/+9
|
* fixed #141liris2015-02-101-2/+6
|
* fixed #132Hiroki Ohtani2014-11-251-20/+36
|
* clear os.envrion.liris2014-11-071-0/+14
|
* fixed #125liris2014-11-071-10/+41
| | | | but I didn't test it, yet, because I don't have envrioment to test.