mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-20 01:28:56 +00:00
Add custom pytest mark.
This commit is contained in:
parent
c196e2901c
commit
c575758e00
@ -7,6 +7,10 @@ from thefuck.system import Path
|
|||||||
shells.shell = shells.Generic()
|
shells.shell = shells.Generic()
|
||||||
|
|
||||||
|
|
||||||
|
def pytest_configure(config):
|
||||||
|
config.addinivalue_line("markers", "functional: mark test as functional")
|
||||||
|
|
||||||
|
|
||||||
def pytest_addoption(parser):
|
def pytest_addoption(parser):
|
||||||
"""Adds `--enable-functional` argument."""
|
"""Adds `--enable-functional` argument."""
|
||||||
group = parser.getgroup("thefuck")
|
group = parser.getgroup("thefuck")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user