If you do have a couchdb server running on localhost on default port, the following command should be enough to run tests:
In case you want to use a couchdb on another host or port, use the –couch-url parameter for pytest:
tox -- --couch-url=http://couch_host:5984
If you want to exclude all tests that depend on couchdb, deselect tests marked with needs_couch:
tox -- -m 'not needs_couch'