Skip to content

Instantly share code, notes, and snippets.

@weissjeffm
Created January 29, 2014 15:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save weissjeffm/8690186 to your computer and use it in GitHub Desktop.
Save weissjeffm/8690186 to your computer and use it in GitHub Desktop.
pytest trace
(cfme)[jweiss@localhost cfme_tests]$ py.test -k test_provider_edit
============================= test session starts ==============================
platform linux2 -- Python 2.7.5 -- py-1.4.20 -- pytest-2.5.2
INTERNALERROR> Traceback (most recent call last):
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/main.py", line 81, in wrap_session
INTERNALERROR> doit(config, session)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/main.py", line 117, in _main
INTERNALERROR> config.hook.pytest_collection(session=session)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/core.py", line 377, in __call__
INTERNALERROR> return self._docall(methods, kwargs)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/core.py", line 388, in _docall
INTERNALERROR> res = mc.execute()
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/core.py", line 289, in execute
INTERNALERROR> res = method(**kwargs)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/main.py", line 121, in pytest_collection
INTERNALERROR> return session.perform_collect()
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/main.py", line 518, in perform_collect
INTERNALERROR> items = self._perform_collect(args, genitems)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/main.py", line 553, in _perform_collect
INTERNALERROR> self.items.extend(self.genitems(node))
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/main.py", line 690, in genitems
INTERNALERROR> rep = collect_one_node(node)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/runner.py", line 393, in collect_one_node
INTERNALERROR> ihook.pytest_exception_interact(node=collector, call=call, report=rep)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/main.py", line 162, in call_matching_hooks
INTERNALERROR> return hookmethod.pcall(plugins, **kwargs)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/core.py", line 381, in pcall
INTERNALERROR> return self._docall(methods, kwargs)
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/core.py", line 388, in _docall
INTERNALERROR> res = mc.execute()
INTERNALERROR> File "/home/jweiss/.virtualenvs/cfme/lib/python2.7/site-packages/_pytest/core.py", line 289, in execute
INTERNALERROR> res = method(**kwargs)
INTERNALERROR> File "/home/jweiss/workspace/cfme_tests/fixtures/browser.py", line 27, in pytest_exception_interact
INTERNALERROR> if set(node.fixturenames) & browser_fixtures:
INTERNALERROR> AttributeError: 'Module' object has no attribute 'fixturenames'
=============================== in 0.36 seconds ===============================
Event testing disabled, no collecting, no reports
(cfme)[jweiss@localhost cfme_tests]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment