From 192e3f9d3b453e936f4567850e3c5b2a17138ed2 Mon Sep 17 00:00:00 2001 From: Gilles DAVID Date: Wed, 7 Jun 2017 08:18:23 +0200 Subject: [PATCH] Porting Python 3: Fix test #14: KERNEL_SALOME_INSTANCE_instances --- bin/appliskel/tests/salomeInstance/instances.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.2