def test_degrees_of_freedom_total_property_exists_when_fitted_result_not_none(self, linearity_validator_obj, fitted_result_obj):
    assert (linearity_validator_obj.degrees_of_freedom_total == (fitted_result_obj.df_model + fitted_result_obj.df_resid))
def test_degrees_of_freedom_total_property_exists_when_fitted_result_not_none(self, linearity_validator_obj, fitted_result_obj):
    assert (linearity_validator_obj.degrees_of_freedom_total == (fitted_result_obj.df_model + fitted_result_obj.df_resid))