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
+1 -1
View File
@@ -43,7 +43,7 @@ class TestSettingsFromFile(object):
assert settings.rules == const.DEFAULT_RULES + ['test']
@pytest.mark.usefixture('load_source')
@pytest.mark.usefixtures('load_source')
class TestSettingsFromEnv(object):
def test_from_env(self, os_environ, settings):
os_environ.update({'THEFUCK_RULES': 'bash:lisp',