Fix pytest warnings (#1116)

* Add custom pytest mark.

* Fix typo usefixture -> usefixtures.
This commit is contained in:
Kartik Soneji
2020-11-03 22:59:28 +05:30
committed by GitHub
parent 22efa8f70e
commit b4c75eebe6
2 changed files with 5 additions and 1 deletions
+4
View File
@@ -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")