summaryrefslogtreecommitdiff
path: root/funtests/tests/test_couchdb.py
blob: 697d0e21c679eb6e3e126ff46900db8ca0bc840d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from nose import SkipTest

from funtests import transport


class test_couchdb(transport.TransportCase):
    transport = 'couchdb'
    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