5 Commits

Author SHA1 Message Date
Ghostkeeper
65bc29cd4c
Give slightly more information when definition is invalid
Because it now fails at the assertion inside assertIsDefinitionValid, it'll show the information at that point in the stack, rather than showing that the entire function returned False which could be a lot of things (if you don't actually go reading the function because then you discovered that it could only be one thing).
2019-05-14 09:08:50 +02:00
Jaime van Kessel
338f9c0052 Add check for platform mesh & texture
It simply checks if the file exists
2019-02-15 14:42:50 +01:00
Jaime van Kessel
face8d4799 Moved logic of isDefinitionvalid to it's own function
This should make it easier in the future to add checks for the extruders as well
2019-02-13 14:11:46 +01:00
Jaime van Kessel
9b76124d11 Ensured that the validateDefinitionContainer checks a single definition per test 2019-02-13 14:02:38 +01:00
Aleksei S
2b45262a85 Added test for definition container
CURA-5977
2018-11-23 17:01:05 +01:00