mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-08-06 10:18:42 +02:00
[tests] Add initial set of unit tests for plugins
Tests cover loading/unloading plugins, registering/unregistering node plugins, and reloading them.
This commit is contained in:
parent
5bc09c8847
commit
aa4d9ad92b
8 changed files with 310 additions and 0 deletions
22
tests/plugins/meshroom/pluginA/PluginANodeA.py
Normal file
22
tests/plugins/meshroom/pluginA/PluginANodeA.py
Normal file
|
@ -0,0 +1,22 @@
|
|||
__version__ = "1.0"
|
||||
|
||||
from meshroom.core import desc
|
||||
|
||||
class PluginANodeA(desc.Node):
|
||||
inputs = [
|
||||
desc.File(
|
||||
name="input",
|
||||
label="Input",
|
||||
description="",
|
||||
value="",
|
||||
),
|
||||
]
|
||||
|
||||
outputs = [
|
||||
desc.File(
|
||||
name="output",
|
||||
label="Output",
|
||||
description="",
|
||||
value="",
|
||||
),
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue