diff options
author | andy <andy@andymccurdy.com> | 2011-10-10 13:45:55 -0700 |
---|---|---|
committer | andy <andy@andymccurdy.com> | 2011-10-10 13:45:55 -0700 |
commit | fb83cd05246a6c0ad297baa3d6571a97ecb86199 (patch) | |
tree | 00570d7e0d8fb8e441cceba11458d32042c01bbf /tests/server_commands.py | |
parent | 32256bb220923d45235f8dd6a4c0dfc1ff0a65f9 (diff) | |
download | redis-py-fb83cd05246a6c0ad297baa3d6571a97ecb86199.tar.gz |
added the ECHO command for completeness
Diffstat (limited to 'tests/server_commands.py')
-rw-r--r-- | tests/server_commands.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/server_commands.py b/tests/server_commands.py index 771e0b3..819bedf 100644 --- a/tests/server_commands.py +++ b/tests/server_commands.py @@ -81,6 +81,9 @@ class ServerCommandsTestCase(unittest.TestCase): self.assert_(self.client.config_set('dbfilename', rdbname)) self.assertEquals(self.client.config_get()['dbfilename'], rdbname) + def test_echo(self): + self.assertEquals(self.client.echo('foo bar'), 'foo bar') + def test_info(self): self.client['a'] = 'foo' self.client['b'] = 'bar' |