X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=bin%2Fappliskel%2Ftests%2FconcurrentSession%2FTestConcurrentSession.py;h=1bc310ccc3983411eff9dc9fc62eec89415a417b;hb=3091a8beac430b5b36c7606fc672dcf869a8683d;hp=aab1777af46e7363f2ad8b167508f7f047904848;hpb=4b5dddd5103a6a9121dc80ac45de99f2504e17e1;p=modules%2Fkernel.git diff --git a/bin/appliskel/tests/concurrentSession/TestConcurrentSession.py b/bin/appliskel/tests/concurrentSession/TestConcurrentSession.py index aab1777af..1bc310ccc 100644 --- a/bin/appliskel/tests/concurrentSession/TestConcurrentSession.py +++ b/bin/appliskel/tests/concurrentSession/TestConcurrentSession.py @@ -42,7 +42,9 @@ class TestConcurrentLaunch(unittest.TestCase): def tearDown(self): pass # - def appli(self, args=[]): + def appli(self, args=None): + if args is None: + args = [] try: self.SALOME.main(self.SALOME_appli_args + args) except SystemExit, e: @@ -50,7 +52,9 @@ class TestConcurrentLaunch(unittest.TestCase): logging.error(e) pass # - def session(self, args=[]): + def session(self, args=None): + if args is None: + args = [] try: self.SALOME.main(self.SALOME_shell_args + args) except SystemExit, e: