Commit 2e1ca205 authored by Guillaume Pasero's avatar Guillaume Pasero

TEST: fix python wrapping test, inxml must be a valid file

parent 6f502e5b
......@@ -82,4 +82,5 @@ add_test( NAME pyTvNewStyleParameters
COMMAND ${TEST_DRIVER} Execute
${PYTHON_EXECUTABLE} ${CMAKE_CURRENT_SOURCE_DIR}/PythonNewStyleParametersTest.py
${OTB_DATA_ROOT}/Input/poupees.tif
${TEMP}/pyTvNewStyleParametersTest.tif )
${TEMP}/pyTvNewStyleParametersTest.tif
${OTB_DATA_ROOT}/Input/apTvUtSmoothingTest_OutXML.xml)
......@@ -87,8 +87,8 @@ app.SetParameterString('outputs.mode', 'orthofit')
cm_assert(app.OUTPUTS.MODE, 'orthofit')
#14 - inputxml parameter set
app.INXML = 'input.xml'
cm_assert(app.GetParameterString('inxml'), 'input.xml')
app.INXML = argv[3]
cm_assert(app.GetParameterString('inxml'), argv[3])
#15 - outputxml parameter get
app.SetParameterString('outxml', 'output.xml')
......
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