Skip to content

Instantly share code, notes, and snippets.

@tahmmee
Created April 17, 2017 15:19
Show Gist options
  • Save tahmmee/46eff5123af14c3d997544188347a39b to your computer and use it in GitHub Desktop.
Save tahmmee/46eff5123af14c3d997544188347a39b to your computer and use it in GitHub Desktop.
pytest collect sync_gateway tests
root@ubuntu:~/workspace/test_repo_updater# pytest mobile-testkit/testsuites/syncgateway/functional/tests --collect-only
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/_pytest/config.py", line 338, in _importconftest
mod = conftestpath.pyimport()
File "/usr/local/lib/python2.7/dist-packages/py/_path/local.py", line 650, in pyimport
__import__(modname)
File "/usr/local/lib/python2.7/dist-packages/_pytest/assertion/rewrite.py", line 207, in load_module
py.builtin.exec_(co, mod.__dict__)
File "/usr/local/lib/python2.7/dist-packages/py/_builtin.py", line 221, in exec_
exec2(obj, globals, locals)
File "<string>", line 7, in exec2
File "/root/workspace/test_repo_updater/mobile-testkit/testsuites/syncgateway/functional/tests/conftest.py", line 5, in <module>
from keywords.ClusterKeywords import ClusterKeywords
File "/root/workspace/test_repo_updater/mobile-testkit/keywords/ClusterKeywords.py", line 14, in <module>
from libraries.testkit.cluster import Cluster
File "/root/workspace/test_repo_updater/mobile-testkit/libraries/testkit/cluster.py", line 9, in <module>
from libraries.testkit.server import Server
File "/root/workspace/test_repo_updater/mobile-testkit/libraries/testkit/server.py", line 12, in <module>
from keywords.couchbaseserver import create_internal_rbac_bucket_user
File "/root/workspace/test_repo_updater/mobile-testkit/keywords/couchbaseserver.py", line 7, in <module>
from requests.packages.urllib3.exceptions import InsecureRequestWarning
ImportError: No module named packages.urllib3.exceptions
ERROR: could not load /root/workspace/test_repo_updater/mobile-testkit/testsuites/syncgateway/functional/tests/conftest.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment