Skip to content

Commit

Permalink
Remove setup for incremental test marker
Browse files Browse the repository at this point in the history
Signed-off-by: Khor Shu Heng <khor.heng@gojek.com>
  • Loading branch information
khorshuheng committed Oct 29, 2020
1 parent 23fc5d7 commit 60bb8c5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions tests/integration/conftest.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
import pytest


def pytest_addoption(parser):
pass


def pytest_runtest_setup(item):
if "incremental" in item.keywords:
previousfailed = getattr(item.parent, "_previousfailed", None)
if previousfailed is not None:
pytest.xfail("previous test failed (%s)" % previousfailed.name)

0 comments on commit 60bb8c5

Please sign in to comment.