def test_regression_residues_exists_when_fitted_result_not_none(self, linearity_validator_obj, fitted_result_obj):
    'Given a regression model\n        when regression_residues is called\n        the regression residues must be created'
    assert (linearity_validator_obj.regression_residues == fitted_result_obj.resid.tolist())
Given a regression model
when regression_residues is called
the regression residues must be created
def test_regression_residues_exists_when_fitted_result_not_none(self, linearity_validator_obj, fitted_result_obj):
    'Given a regression model\n        when regression_residues is called\n        the regression residues must be created'
    assert (linearity_validator_obj.regression_residues == fitted_result_obj.resid.tolist())