summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
...
* allow cert_reqs to be a string and convert it to the appropriate SSL constant.Andy McCurdy2014-05-131-0/+26
|
* more love for testing on servers w/ other connected clientsAndy McCurdy2014-05-121-15/+18
|
* be better about testing on servers where there may be other connected clientsAndy McCurdy2014-05-121-2/+4
|
* string literals no longer get encoded before being send to RedisAndy McCurdy2014-05-121-0/+9
| | | | | | | | | | | | previously all pieces of a command, including the command name and literal options to it (such as "WITHSCORES" on ZSET commands) would get encoded. this works fine on utf-8, but other encodings like utf-16 break. a new Token class has been introduced that command names and literal options get wrapped. the encoder falls back to the latin-1 encoding for these literals as they are all ascii. fixes #430
* Cleaned up URL parsing code, now returns ConnectionPool instances.Andy McCurdy2014-05-111-187/+191
| | | | | | | StrictRedis.from_url() now creations a connection pool instance and passes that as the connection_pool argument to the client class. Cleaned up the test suite for URL parsing and BlockingConnectionPool tests
* Merge branch 'pr/436'Andy McCurdy2014-05-111-0/+145
|\ | | | | | | | | Conflicts: tests/test_connection_pool.py
| * pep8 fixeswil paredes2014-02-091-12/+12
| |
| * add from_url() classmethod to ConnectionPool and BlockingConnectionPool, add ↵wil paredes2014-02-091-0/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ability to parse UNIX domain socket URLs * add redis.connection.parse_url() * moved code from StrictRedis.from_url() to here * add ability to parse UNIX domain socket URLs * return keyword args to pass to StrictRedis.__init__() * StrictRedis.from_url() - call parse_url() to get keyword args * add classmethod from_url() to ConnectionPool and BlockingConnectionPool * get keyword args from parse_url() * touch up keyword args from StrictRedis format for connection pool * tests/test_connection_pool.py * add from_url() tests for ConnectionPool and BlockingConnectionPool * add from_url() tests for a single Redis client object
* | fix expireat tests to factor in rounding time upAndy McCurdy2014-05-101-4/+4
| |
* | *SCAN cursor values are now longs (ints on Python3) rather than strings.Andy McCurdy2014-05-101-4/+4
| | | | | | | | fixes #474.
* | unnecessary testAndy McCurdy2014-05-061-4/+0
| |
* | Merge branch 'pr/464'Andy McCurdy2014-05-061-0/+5
|\ \
| * | Fix getset docstringChoongmin Lee2014-04-241-0/+5
| | | | | | | | | | | | | | | The old docstring was incorrect. See http://redis.io/commands/GETSET for more information.
* | | SentinelManagedConnections to master servers disconnect on READONLY errors.Andy McCurdy2014-05-061-0/+6
| | | | | | | | | | | | | | | Any attempt to reconnect will force all connections in that pool to update their connections to the new master. Fixes #435
* | | use the redis server time in [p]expireat tests for more accuracyAndy McCurdy2014-05-051-6/+12
|/ /
* | added lexicographical sorted set commandsAndy McCurdy2014-04-231-0/+26
| |
* | better error handling with hiredis. fully fixes #456Andy McCurdy2014-04-211-15/+14
| |
* | mostly fixes #456. there's still an issue w/ hiredis and multi-bulk repliesAndy McCurdy2014-04-101-0/+31
| |
* | fix scripting tests on python3Andy McCurdy2014-04-101-2/+3
| |
* | Make sure we know the SHA of scripts before pipeline execution. Fixes #459Andy McCurdy2014-04-091-0/+81
| |
* | use a slowlog fixture to make sure the redis server has slowlog enabledAndy McCurdy2014-04-091-7/+18
| |
* | lame, typoAndy McCurdy2014-04-081-1/+1
| |
* | purposely fail on travis-ci to see the outputAndy McCurdy2014-04-081-0/+4
| |
* | Fix #438, OBJECT commands on invalid keys return None now.Andy McCurdy2014-04-081-0/+1
| |
* | added SLOWLOG support. finally can partially close #170 :)Andy McCurdy2014-04-081-0/+32
| |
* | Merge branch 'pr/441'Andy McCurdy2014-04-071-4/+38
|\ \ | | | | | | | | | | | | | | | Conflicts: redis/client.py tests/test_commands.py
| * | fix python3Andy McCurdy2014-04-071-4/+4
| | |
| * | Add scan_iter/sscan_iter/hscan_iter and zscan_itermathieu longtin2014-03-051-0/+34
| |/
* | pep8 compliancePepijn de Vos2014-04-061-1/+1
| |
* | Test HyperLogLogPepijn de Vos2014-04-061-0/+27
| |
* | pep8Andy McCurdy2014-04-041-8/+8
| |
* | automatic message decoding if decode_responses=True. bugfixes, tests.Andy McCurdy2014-04-011-32/+222
| |
* | DEBUG LOADING was released in 2.8.8, so skip test with earlier versionsAndy McCurdy2014-03-311-2/+1
| |
* | make sure we know the order of expected subscribe/unsubscribe messagesAndy McCurdy2014-03-294-17/+24
| |
* | fixes PubSub.subscribe once and for all.Andy McCurdy2014-03-282-51/+122
| |
* | fixed a bunch get_message() bugs, refactored the PythonParser to be saner.Andy McCurdy2014-03-271-75/+116
| | | | | | | | still need more pubsub tests but all this stuff *seems* to be working now
* | make sure hiredis parser raises connection errorsAndy McCurdy2014-03-102-8/+18
|/
* with tox/travis, tests don't need to know about the environmentAndy McCurdy2014-01-281-14/+4
|
* Add extra info to exceptions raised in pipelines. Fixes #407Andy McCurdy2013-12-081-4/+28
| | | | | | | | | ResponseErrors generated by commands executed in a pipeline now includes the command position in the pipeline and the actual command sent to the Redis server. For example: Command # 3 (LPUSH c 3) of pipeline caused error: <actual error message from Redis server>
* some *SCAN cleanupAndy McCurdy2013-12-031-11/+11
|
* add 2.8.0 new methods: scan/sscan/hscan/zscanjingchao2013-11-271-0/+39
|
* Move repr to Connection and UnixDomainConnection. Add repr support to Redis, ↵Mark Roberts2013-11-051-7/+52
| | | | ConnectionPool, and BlockingConnectionPool
* Add support for showing db connection info via reprMark Roberts2013-11-011-0/+6
|
* Merge branch 'vitek-sentinel'Andy McCurdy2013-09-131-0/+173
|\ | | | | | | | | Conflicts: CHANGES
| * comments and changelogAndy McCurdy2013-09-131-1/+1
| |
| * Add tests for sentinel moduleVitja Makarov2013-09-071-0/+173
| |
* | Errors during auth or DB select now close the socketAndy McCurdy2013-09-081-0/+17
|/ | | | Fixes #368
* Simplify dump and restore test case - works with Python 3.x now.Justin Head2013-07-181-4/+3
|
* Add dump and restore test case.Justin Head2013-07-181-0/+9
|
* encoding fixandy2013-06-071-1/+1
|