File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 10101. install dependency::
1111
1212 pip install nose
13- pip install git+https://github.com/andymccurdy/redis-py.git@2.9.0
13+ pip install git+https://github.com/andymccurdy/redis-py.git@2.10.3
1414 pip install git+https://github.com/idning/python-memcached.git#egg=memcache
1515
16162. copy binarys to _binaries/::
Original file line number Diff line number Diff line change @@ -196,10 +196,10 @@ def test_multi_delete_on_readonly():
196196
197197 r = redis .Redis (nc .host (), nc .port ())
198198
199- # got "READONLY You can't write against a read only slave"
200- assert_fail ('READONLY|Invalid' , r .delete , 'key-1' )
199+ # got "You can't write against a read only slave"
200+ assert_fail ("You can't write against a read only slave." , r .delete , 'key-1' )
201201 assert_equal (0 , r .delete ('key-2' ))
202- assert_fail ('READONLY|Invalid' , r .delete , 'key-3' )
202+ assert_fail ("You can't write against a read only slave" , r .delete , 'key-3' )
203203
204204 keys = ['key-1' , 'key-2' , 'kkk-3' ]
205205 assert_fail ('Invalid argument' , r .delete , * keys ) # got "Invalid argument"
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if [ -n "$TRAVIS" ]; then
1111 sudo pip install redis
1212 sudo pip install nose
1313
14- sudo pip install git+https://github.com/andymccurdy/redis-py.git@2.9.0
14+ sudo pip install git+https://github.com/andymccurdy/redis-py.git@2.10.3
1515 sudo pip install git+https://github.com/idning/python-memcached.git#egg=memcache
1616fi
1717
You can’t perform that action at this time.
0 commit comments