コード例 #1
0
ファイル: test_al_gc.py プロジェクト: imperialguy/algc
 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)
コード例 #2
0
ファイル: test_al_gc.py プロジェクト: imperialguy/algc
 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)