Skip to content

Commit

Permalink
Update tests/plugins/files.py
Browse files Browse the repository at this point in the history
Co-Authored-By: Łukasz Skarżyński <skarzynski_lukasz@protonmail.com>
  • Loading branch information
sobolevn and skarzi committed Mar 26, 2020
1 parent 1be691b commit 2d58dce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/plugins/files.py
Expand Up @@ -39,7 +39,7 @@ def factory(filename: str) -> str:

@pytest.fixture(scope='session')
def absolute_path():
"""Fixture to create full path relative to `contest.py` inside tests."""
"""Fixture to create full path relative to `conftest.py` inside tests."""
def factory(*files: str) -> str:
dirname = os.path.dirname(os.path.dirname(__file__))
return os.path.join(dirname, *files)
Expand Down

0 comments on commit 2d58dce

Please sign in to comment.