Ejemplo n.º 1
0
 def test_fail_run_model_invalid_model_coefficients(self):
     with self.assertRaises(TypeError):
         run_model(self.empty_dict, self.empty_dataframe, None,
                   self.empty_dataframe, self.config.test_density_constant,
                   self.empty_dict, self.empty_list)
Ejemplo n.º 2
0
 def test_fail_run_model_invalid_custom_rule_features(self):
     with self.assertRaises(TypeError):
         run_model(self.empty_dict, self.empty_dataframe,
                   self.empty_dataframe, self.empty_dataframe,
                   self.config.test_density_constant, self.empty_dict,
                   self.config.test_invalid_custom_rule_features)