Commit graph

3 commits

Author SHA1 Message Date
Candice Bentéjac
b470078667 [tests] Add checks on internal attributes in the templatesVersion test
If some internal attributes are saved in the templates, their description
should be checked just like the input attributes to ensure there are no
conflicts.
2023-02-15 08:36:14 +00:00
Candice Bentéjac
10844747f0 [core] Do not write outputs, internal folder and parallelization in templates
For every node, the only information that is kept when saving a
template are the non-default input attributes' values as well as the
node's position.

The unit test checking the templates' nodes is updated to stop taking
outputs into account.
2022-10-21 16:54:17 +02:00
Candice Bentéjac
02f87ff634 [tests] Add a unit test to check for templates' versions
This test checks that there is no compatibility issue with the nodes
saved in the template files. It fails when an upgrade of a templates is
needed. Any template can still be opened even if its nodes are not up-to-
date, as they will be automatically upgraded.
2022-10-21 16:20:12 +02:00