diff options
Diffstat (limited to 'funtests/tests/test_couchdb.py')
-rw-r--r-- | funtests/tests/test_couchdb.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/funtests/tests/test_couchdb.py b/funtests/tests/test_couchdb.py index 633e17b6..697d0e21 100644 --- a/funtests/tests/test_couchdb.py +++ b/funtests/tests/test_couchdb.py @@ -1,3 +1,5 @@ +from nose import SkipTest + from funtests import transport @@ -6,5 +8,11 @@ class test_couchdb(transport.TransportCase): prefix = 'couchdb' event_loop_max = 100 + def before_connect(self): + try: + import couchdb # noqa + except ImportError: + raise SkipTest('couchdb not installed') + def after_connect(self, connection): connection.channel().client |