Switch to SSL mode for tests : naive approach

This commit is contained in:
Anthony Geay 2021-08-12 08:43:44 +02:00
parent 8d26af3d7b
commit 8d33dd3a86
114 changed files with 114 additions and 114 deletions

View File

@ -17,7 +17,7 @@
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
SET(SALOME_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/salome_test_driver.py")
SET(PYTHON_TEST_DRIVER "$ENV{KERNEL_ROOT_DIR}/bin/salome/appliskel/python_test_driver.py")
SET(COMPONENT_NAME GEOM)
SET(TIMEOUT 300)

View File

@ -1,7 +1,7 @@
# 3D Sketcher
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -22,6 +22,6 @@ INCLUDE(tests.set)
FOREACH(tfile ${GOOD_TESTS})
GET_FILENAME_COMPONENT(BASE_NAME ${tfile} NAME_WE)
SET(TEST_NAME GEOM_${BASE_NAME})
ADD_TEST(${TEST_NAME} python ${SALOME_TEST_DRIVER} ${TIMEOUT} ${tfile})
ADD_TEST(${TEST_NAME} python ${PYTHON_TEST_DRIVER} ${TIMEOUT} ${tfile})
SET_TESTS_PROPERTIES(${TEST_NAME} PROPERTIES LABELS "${COMPONENT_NAME}")
ENDFOREACH()

View File

@ -1,7 +1,7 @@
# Geom Field
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,6 +1,6 @@
# --- salome initialization
import salome
salome.salome_init()
salome.salome_init_without_session()
# --- geom Python interface
import GEOM

View File

@ -1,7 +1,7 @@
# Creation of PipeTShape
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of DividedDisk
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of DividedCylinder
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Angle
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Using SALOME NoteBook
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder

View File

@ -1,7 +1,7 @@
# Creation of a Point
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Line
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Circle
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of an Ellipse
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of an Arc
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Curve
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Vector
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Plane
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Local Coordinate System
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Surface From Face
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Partition
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Archimede
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Restore presentation parameters and sub-shapes
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Get shared sub-shapes
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Basic Properties
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Multi Transformation
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Explode on Blocks
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Propagate
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Fuse
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Common
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Cut
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Section
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Bounding Box
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Quadrangle Face
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Hexagonal Solid
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Center of masses
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Check Compound of Blocks
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Detect Self-intersections
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Detect Self-intersections fast
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Check Shape
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Prism
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Revolution
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Filling
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Pipe
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a PipeWithDifferentSections
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a PipeWithShellSections
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a PipeShellsWithoutPath
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,6 +1,6 @@
# Creation of a PipeBiNormalAlongVector
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Middle Path
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of Tangent Plane On Face
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Apply thickness for shell
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Fast intersection
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Check Free Boundaries
import salome
salome.salome_init()
salome.salome_init_without_session()
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Check Free Faces
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Get Non Blocks
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Import/Export
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Inertia
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Minimal Distance
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Normal to a Face
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Using SALOME NoteBook
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Point Coordinates
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# 2D polyline
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Box
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -3,7 +3,7 @@
import math
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Sphere
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Torus
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Cone
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Disk
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Rectangle
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Shape Processing
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Suppress Faces
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Close Contour
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Suppress Internal Wires
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Suppress Holes
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Sewing
import salome, math
salome.salome_init()
salome.salome_init_without_session()
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Glue Faces
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Glue Edges
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Add Point on Edge
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Fuse Collinear Edges within a Wire
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Remove internal(shared) faces from a compound
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# 2D Sketcher
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Tolerance
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of an Edge
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Wire
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Face
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Shell
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Solid
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Creation of a Compound
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Translation
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Rotation
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Modify Location
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Mirror Image
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Scale Transform
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Offset Surface
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Projection
import salome
salome.salome_init()
salome.salome_init_without_session()
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Multi Translation
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Multi Rotation
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Fillet 2D
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Fillet 1D
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

View File

@ -1,7 +1,7 @@
# Fillet
import salome
salome.salome_init()
salome.salome_init_without_session()
import GEOM
from salome.geom import geomBuilder
geompy = geomBuilder.New()

Some files were not shown because too many files have changed in this diff Show More