Skip to content
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

Fixed tests that were failing due Pytest updates #190

Merged
merged 10 commits into from
Jan 11, 2019
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ dist
# IDE Specific files
### Pycharm IDE - Jetbrains
.idea/*
.vscode/*
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm using Visual Studio right now, so I added it.


### PyDev IDE - Eclipse
.metadata
Expand Down
4 changes: 3 additions & 1 deletion testing/test_pytest_html.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,9 @@ def test_xpass(): pass

def test_setup_error(self, testdir):
testdir.makepyfile("""
def pytest_funcarg__arg(request):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Funcarg is deprecated since Pytest 4.

import pytest
@pytest.fixture
def arg(request):
raise ValueError()
def test_function(arg):
pass
Expand Down