mirror of
https://github.com/nvbn/thefuck.git
synced 2025-03-14 06:38:32 +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()
|
||||
|
||||
|
||||
def pytest_configure(config):
|
||||
config.addinivalue_line("markers", "functional: mark test as functional")
|
||||
|
||||
|
||||
def pytest_addoption(parser):
|
||||
"""Adds `--enable-functional` argument."""
|
||||
group = parser.getgroup("thefuck")
|
||||
|
Loading…
x
Reference in New Issue
Block a user