23 Commits

Author SHA1 Message Date
Remco Burema
922c8ccbc9 Fix unit test.
It's not enough (or even nescesary) to mock the (now wrapper) method, since we use the underlaying method in our code now.

done as part of CURA-11501
2024-08-16 00:39:35 +02:00
Remco Burema
8805c6a1b5 Split methods to prevent API-break.
done as part of CURA-11501
2024-08-15 15:54:05 +02:00
Erwan MATHIEU
b8bba655ca Fix unit test 2024-08-15 11:54:29 +02:00
Casper Lamboo
f73154a2c5
Use camelCase for python function definition
CURA-10599

Co-authored-by: Jaime van Kessel <nallath@gmail.com>
2023-06-12 14:35:11 +02:00
c.lamboo
da33a26dc4 Fix unit tests
CURA-10599
2023-06-12 13:33:59 +02:00
Nino van Hooff
89f0970a88 Remove trailing whitespace from Python files 2020-05-29 14:30:33 +02:00
Nino van Hooff
c2c96faf5f Convert remaining doxygen to rst 2020-05-28 17:13:44 +02:00
Lipu Fei
d70a6e81b1 Merge 4.4 2019-11-12 14:39:30 +01:00
Lipu Fei
77c194464e Fix tests 2019-11-12 14:33:54 +01:00
Ghostkeeper
852da51f65
Fix tests for exact matching on preferred material
I don't know why the CI system was only complaining about it several commits later. Could be troublesome.

Fixes a bug introduced by 1284d9fe8d726e46b556caa8f2f390dc7d65220c.
2019-11-01 13:56:29 +01:00
Lipu Fei
f2c66f8d3a Fix TestVariantNode
CURA-6921
2019-10-22 15:31:17 +02:00
Lipu Fei
84080b675b Fix tests 2019-10-15 08:29:53 +02:00
Ghostkeeper
862504f603
Add test for preferring a material diameter over the preferred from metadata
Done during Turbo Testing and Tooling.
2019-10-04 17:32:42 +02:00
Ghostkeeper
9b6443c2d3
Add test for preferred material diameter mismatch
Done during Turbo Testing and Tooling.
2019-10-04 17:28:27 +02:00
Ghostkeeper
93e397a0cc
Move creation of empty variant nodes to fixture
Done during Turbo Testing and Tooling.
2019-10-04 17:23:14 +02:00
Ghostkeeper
30e268e975
Add test for preferred material's diameter check
Done during Turbo Testing and Tooling.
2019-10-04 17:16:59 +02:00
Ghostkeeper
54fcb38fe6
Add test for preferred material matching on submaterials
Done during Turbo Testing and Tooling.
2019-10-04 17:11:32 +02:00
Ghostkeeper
a117e937b9
Add test for preferred material with the happy flow
The exact preferred material is available. Pick that.
2019-10-04 17:07:45 +02:00
Lipu Fei
e5c59b1308 Fix TestVariantNode 2019-10-04 11:00:01 +02:00
Jaime van Kessel
c26d113002 Add test for the MaterialNode
CURA-6600
2019-08-08 13:52:45 +02:00
Jaime van Kessel
a8fbb80b09 Add tests for the updating of MaterialNodes in the variant node
CURA-6600
2019-08-08 10:46:24 +02:00
Jaime van Kessel
476c7b683d Extend variant node test to also test the material added case
CURA-6600
2019-08-07 17:23:12 +02:00
Jaime van Kessel
2683c31975 Add initial tests for variantNode
CURA-6600
2019-08-07 17:04:39 +02:00