Meshroom/tests
Yann Lanthony 90acb93ea8 [core] Trigger node desc creation callback only for explicit node creation
The desc.Node.onCreated callback is a hook in the Node API for developers to
write custom behavior on a node first initialization.
By being called in the core.Node constructor, this was triggered in several situations
that don't match this idea and with unpredictable side effects (graph loading, node re-creation on undo...).

* Make `onNodeCreated` callback an explicit method on desc.Node.
* Remove the call to node descriptor's `onNodeCreated` callback outside core.Node constructor.
* Trigger this callback on explicit node creation (adding new node to graph, init a graph from a template).
2025-02-14 11:42:22 +01:00
..
nodes [tests] Remove invalid= when the implicit argument is enough 2024-09-12 10:54:19 +02:00
__init__.py [tests] move test nodes to tests package 2018-07-19 13:50:45 +02:00
conftest.py [tests] Add graph-testing fixtures 2024-10-25 11:47:33 +02:00
test_compatibility.py [core][graphIO] Improve node type version handling 2025-02-06 16:46:05 +01:00
test_graph.py Linting: Clean-up files 2024-09-12 10:50:13 +02:00
test_graphIO.py [core][graphIO] PartialSerializer: fix List/GroupAttribute link serialization 2025-02-06 18:19:19 +01:00
test_invalidation.py [tests] Remove invalid= when the implicit argument is enough 2024-09-12 10:54:19 +02:00
test_model.py [qt6] Replace all PySide2/shiboken2 imports by PySide6/shiboken6 2024-11-07 18:08:54 +01:00
test_multiviewPipeline.py [tests] Update unit tests with new UID system 2024-09-12 10:41:57 +02:00
test_nodeAttributeChangedCallback.py [core] Graph: add importGraphContent API 2025-02-06 16:46:04 +01:00
test_nodeCallbacks.py [core] Trigger node desc creation callback only for explicit node creation 2025-02-14 11:42:22 +01:00
test_nodeCommandLineFormatting.py Linting: Clean-up files 2024-09-12 10:50:13 +02:00
test_templatesVersion.py [core] Introducing new graphIO module 2025-02-06 16:46:04 +01:00
utils.py [core][graphIO] Improve node type version handling 2025-02-06 16:46:05 +01:00