Skip to content

pytest fails to register pytest-cov #955

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
sunu opened this issue Aug 21, 2015 · 2 comments
Closed

pytest fails to register pytest-cov #955

sunu opened this issue Aug 21, 2015 · 2 comments

Comments

@sunu
Copy link

sunu commented Aug 21, 2015

I am trying to run tests with coverage reports using pytest-cov. But pytest-cov plugin doesn't get registered in one of the cases and the tests fails with py.test: error: unrecognized arguments: --cov=splash

Here's an example of a failing job.
Here's the travis config.

@RonnyPfannschmidt
Copy link
Member

try running with --collectonly, and take a look at the plugin list
also try a more recent py.test

@sunu
Copy link
Author

sunu commented Aug 21, 2015

Using a more recent py.test did fix the issue. Thanks :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants