Completed
Push — develop ( 75cc86...d53f8e )
by Jace
07:22
created

tests.conftest.pytest_runtest_setup()   A

Complexity

Conditions 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
"""Integration tests configuration file."""
2
3
# pylint: disable=unused-import
4
5
import datafiles
6
7
from gitman.tests.conftest import pytest_configure
8
9
10
def pytest_runtest_setup(item):  # pylint: disable=unused-argument
11
    """Ensure files are created for integration tests."""
12
    datafiles.settings.HOOKS_ENABLED = True
13