Fixed tests that were failing due Pytest updates (#190)
* Corrected Rerun failures - from 4ec74311cd (diff-c3a581865b7c0be4e6b5d5fa60d6aed5)
* Removed ENV
* Changed funcarg to pytest fixture
* Removed some comments
* Style matter
* Style
* Reversed rerunfailures to 4.1
* Style
* added comment about issue 77
* Removed rerunfailures version due launch of rerunfailures 6.0
This commit is contained in:
parent
cf21aed363
commit
6f9b14c7eb
|
@ -12,6 +12,7 @@ dist
|
|||
# IDE Specific files
|
||||
### Pycharm IDE - Jetbrains
|
||||
.idea/*
|
||||
.vscode/*
|
||||
|
||||
### PyDev IDE - Eclipse
|
||||
.metadata
|
||||
|
|
|
@ -140,7 +140,9 @@ class TestHTML:
|
|||
|
||||
def test_setup_error(self, testdir):
|
||||
testdir.makepyfile("""
|
||||
def pytest_funcarg__arg(request):
|
||||
import pytest
|
||||
@pytest.fixture
|
||||
def arg(request):
|
||||
raise ValueError()
|
||||
def test_function(arg):
|
||||
pass
|
||||
|
|
Loading…
Reference in New Issue