Skip to content

Commit 8d1ba33

Browse files
author
Jesse Myers
committed
Document noseplugin with example in source. (#69)
1 parent 86548c6 commit 8d1ba33

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

mockredis/noseplugin.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,13 @@
11
"""
22
This module includes a nose plugin that allows unit tests to be run with a real
3-
redis-server instance running locally (assuming redis-py) is installed. This provides
4-
a simple way to verify that mockredis tests are accurate (at least for a particular
5-
version of redis-server and redis-py).
3+
redis-server instance, as long as redis-py is installed.
4+
5+
This provides a simple way to verify that mockredis tests are accurate (at least
6+
for a particular version of redis-server and redis-py).
7+
8+
Usage:
9+
10+
nosetests --use-redis [--redis-host <localhost>] [--redis-database <db>] [args]
611
712
For this plugin to work, several things need to be true:
813

0 commit comments

Comments
 (0)