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

tests.conftest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A pytest_runtest_setup() 0 3 1
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