Commit 374b859f authored by Victor Poughon's avatar Victor Poughon

TEST: fix pyTvNewStyleParameters incorrect file and epsg

parent e5bfe976
Pipeline #2005 passed with stages
in 44 minutes and 10 seconds
......@@ -131,7 +131,7 @@ add_test( NAME pyTvNewStyleParameters
COMMAND ${TEST_DRIVER} Execute
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonTestDriver.py
PythonNewStyleParametersTest
${OTB_DATA_ROOT}/Input/poupees.tif
${OTB_DATA_ROOT}/Input/sensor_stereo_left.tif
${TEMP}/pyTvNewStyleParametersTest.tif
${OTB_DATA_ROOT}/Input/apTvUtSmoothingTest_OutXML.xml)
......
......@@ -67,8 +67,8 @@ def test(otb, argv):
cm_assert(app.MAP, 'epsg')
# 6 - int type 2nd level sub parameters of choice parameter set
app.MAP.EPSG.CODE = 32768
cm_assert(32768, app.GetParameterInt('map.epsg.code'))
app.MAP.EPSG.CODE = 2154
cm_assert(2154, app.GetParameterInt('map.epsg.code'))
# 7 - another choice with sub parameters set
app.MAP = 'utm'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment