From: Gilles DAVID Date: Wed, 7 Jun 2017 06:18:23 +0000 (+0200) Subject: Porting Python 3: Fix test #14: KERNEL_SALOME_INSTANCE_instances X-Git-Tag: V9_0_0~24^2 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2Fngr%2Fpython3_dev;p=modules%2Fkernel.git Porting Python 3: Fix test #14: KERNEL_SALOME_INSTANCE_instances --- diff --git a/bin/appliskel/tests/salomeInstance/instances.py b/bin/appliskel/tests/salomeInstance/instances.py index 50ecfa80d..02a52cc2e 100644 --- a/bin/appliskel/tests/salomeInstance/instances.py +++ b/bin/appliskel/tests/salomeInstance/instances.py @@ -91,13 +91,13 @@ class TestLauncher(unittest.TestCase): # Connect to one instance import runConsole - port = all_instances[len(all_instances)/2].get_port() + port = all_instances[len(all_instances)//2].get_port() print("Connect to instance running on port", port) self.__connectToInstance(port) # Connect to another instance import runConsole - port = all_instances[len(all_instances)/4].get_port() + port = all_instances[len(all_instances)//4].get_port() print("Connect to instance running on port", port) self.__connectToInstance(port)