mirror of
https://github.com/alicevision/Meshroom.git
synced 2025-04-29 10:17:27 +02:00
[tests] Check that UIDs are identical when writing and loading a graph
This commit is contained in:
parent
1a63a5f819
commit
5b45182bcb
1 changed files with 2 additions and 0 deletions
|
@ -115,3 +115,5 @@ def test_multiviewPipeline():
|
|||
assert sorted([n.name for n in loadedGraph.nodes]) == sorted([n.name for n in graph.nodes])
|
||||
# - no compatibility issues
|
||||
assert all(isinstance(n, Node) for n in loadedGraph.nodes)
|
||||
# - same UIDs for every node
|
||||
assert sorted([n._uids.get(0) for n in loadedGraph.nodes]) == sorted([n._uids.get(0) for n in graph.nodes])
|
||||
|
|
Loading…
Add table
Reference in a new issue