Hi there,

Looks like you are not launching Maya under the same environment during
testing. Ask the pipeline guys at your company how are they launching maya,
there's probably a good deal of environment variables per department/show
in order to keep things under control.

Also, you usually don't create nodes but work with test scenes (well known
input so you are certain of the desired output), you can test the creation
of a group of nodes or create your inputs from scratch on each test suite
but it makes no much sense (unless your project is all about building
building/connecting nodes). Think about what you really want to test,
testing a function creating a constrain (by calling a maya command/api
under the hood) doesn't touch much logic and, unless maya is terrible
broken, it will never fail. I strongly recommend to write failing tests
first and then workout the code to make it pass, it's the easiest way to
build a meaningful tests suite (it requires practice though).

Good luck,
Cheers!

-- 
You received this message because you are subscribed to the Google Groups 
"Python Programming for Autodesk Maya" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/python_inside_maya/CAPamJi84HF3nEZ0OExMJcewQFvyczhWaLV10FTFWcrPBJGw-8Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to