@pytest.fixture(scope='function')
def add_constant_mock(mocker):
    add_constant_mock = mocker.patch('analytical_validation.validators.linearity_validator.statsmodels.add_constant')
    return add_constant_mock
@pytest.fixture(scope='function')
def add_constant_mock(mocker):
    add_constant_mock = mocker.patch('analytical_validation.validators.linearity_validator.statsmodels.add_constant')
    return add_constant_mock