Skip to content
Snippets Groups Projects
Commit 2e1ca205 authored by Guillaume Pasero's avatar Guillaume Pasero
Browse files

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

parent 6f502e5b
No related branches found
No related tags found
No related merge requests found
......@@ -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')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment