From 454eac22b619890197a82fd0a6161a7bddee69ab Mon Sep 17 00:00:00 2001
From: Stefano Borini <sborini@enthought.com>
Date: Tue, 5 Jun 2018 11:19:31 +0100
Subject: [PATCH] Adds the missing optional parameter to
 ProbeMCOFactory.create_model

---
 force_bdss/tests/probe_classes/mco.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/force_bdss/tests/probe_classes/mco.py b/force_bdss/tests/probe_classes/mco.py
index 1c84b8e..eb23e9b 100644
--- a/force_bdss/tests/probe_classes/mco.py
+++ b/force_bdss/tests/probe_classes/mco.py
@@ -101,7 +101,7 @@ class ProbeMCOFactory(BaseMCOFactory):
             self,
             nb_output_data_values=self.nb_output_data_values)
 
-    def create_model(self, model_data):
+    def create_model(self, model_data=None):
         if self.raises_on_create_model:
             raise Exception("ProbeMCOFactory.create_model")
 
-- 
GitLab