mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-03 16:58:24 +02:00
[tests] move test nodes to tests package
avoid releasing test-related nodes
This commit is contained in:
parent
a409eb5eda
commit
cf243ea488
7 changed files with 5 additions and 2 deletions
47
tests/nodes/test/appendFiles.py
Normal file
47
tests/nodes/test/appendFiles.py
Normal file
|
@ -0,0 +1,47 @@
|
|||
from meshroom.core import desc
|
||||
|
||||
|
||||
class AppendFiles(desc.CommandLineNode):
|
||||
commandLine = 'cat {inputValue} {input2Value} {input3Value} {input4Value} > {outputValue}'
|
||||
|
||||
inputs = [
|
||||
desc.File(
|
||||
name='input',
|
||||
label='Input File',
|
||||
description='''''',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='input2',
|
||||
label='Input File 2',
|
||||
description='''''',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='input3',
|
||||
label='Input File 3',
|
||||
description='''''',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
desc.File(
|
||||
name='input4',
|
||||
label='Input File 4',
|
||||
description='''''',
|
||||
value='',
|
||||
uid=[0],
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
desc.File(
|
||||
name='output',
|
||||
label='Output',
|
||||
description='''''',
|
||||
value=desc.Node.internalFolder + 'appendText.txt',
|
||||
uid=[],
|
||||
)
|
||||
]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue