Commit graph

5 commits

Author SHA1 Message Date
Vincent Demoulin
ed4916e803 Update tests with init functions 2024-07-05 15:46:59 +02:00
Candice Bentéjac
f88e7d2a0a [tests] TemplatesVersion: Add message when compatibility assertion is raised
If a compatibility issue is found and the assertion is raised, a message
is now displayed to indicate which template (with its path) and which
node (with its node type) caused the issue.
2023-04-07 08:02:14 +01:00
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