Permalink
Browse files

upgrade redis-py version from 2.9.0 to 2.10.3

change error logs with changing redis-py version
  • Loading branch information...
charsyam charsyam
charsyam authored and charsyam committed Oct 18, 2015
1 parent 592c1b6 commit 7c5d76a1ecc645dc4d5ffbb1889ee66a730a7b02
Showing with 5 additions and 5 deletions.
  1. +1 −1 tests/README.rst
  2. +3 −3 tests/test_redis/test_mget_mset.py
  3. +1 −1 travis.sh
View
@@ -10,7 +10,7 @@ usage
1. install dependency::
pip install nose
pip install git+https://github.com/andymccurdy/redis-py.git@2.9.0
pip install git+https://github.com/andymccurdy/redis-py.git@2.10.3
pip install git+https://github.com/idning/python-memcached.git#egg=memcache
2. copy binarys to _binaries/::
@@ -196,10 +196,10 @@ def test_multi_delete_on_readonly():
r = redis.Redis(nc.host(), nc.port())
# got "READONLY You can't write against a read only slave"
assert_fail('READONLY|Invalid', r.delete, 'key-1')
# got "You can't write against a read only slave"
assert_fail("You can't write against a read only slave.", r.delete, 'key-1')
assert_equal(0, r.delete('key-2'))
assert_fail('READONLY|Invalid', r.delete, 'key-3')
assert_fail("You can't write against a read only slave", r.delete, 'key-3')
keys = ['key-1', 'key-2', 'kkk-3']
assert_fail('Invalid argument', r.delete, *keys) # got "Invalid argument"
View
@@ -11,7 +11,7 @@ if [ -n "$TRAVIS" ]; then
sudo pip install redis
sudo pip install nose
sudo pip install git+https://github.com/andymccurdy/redis-py.git@2.9.0
sudo pip install git+https://github.com/andymccurdy/redis-py.git@2.10.3
sudo pip install git+https://github.com/idning/python-memcached.git#egg=memcache
fi

0 comments on commit 7c5d76a

Please sign in to comment.