Skip to content

Commit

Permalink
upgrade redis-py version from 2.9.0 to 2.10.3
Browse files Browse the repository at this point in the history
change error logs with changing redis-py version
  • Loading branch information
charsyam authored and charsyam committed Oct 18, 2015
1 parent 592c1b6 commit 7c5d76a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/::
Expand Down
6 changes: 3 additions & 3 deletions tests/test_redis/test_mget_mset.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7c5d76a

Please sign in to comment.