Permalink
Browse files

Fixed test for HTTP-400 errors

  • Loading branch information...
1 parent 1cd5761 commit cc194b11233a058fcd87ef560b8e27c54b2a55fd @nicolasff committed Aug 15, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 tests/basic.py
View
2 tests/basic.py
@@ -259,7 +259,7 @@ def test_invalid_output_format(self):
self.query('DEL/hello')
self.query('LPUSH/hello/world') # "hello" is a list.
try:
- f = self.query('LRANGE/hello/world.txt') # let's try a range query on it (valid) but as text (invalid)
+ f = self.query('LRANGE/hello/0/-1.txt') # let's try a range query on it (valid) but as text (invalid)
except urllib2.HTTPError as e:
self.assertTrue(e.code == 400)
return

0 comments on commit cc194b1

Please sign in to comment.